Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12177

Possibly currency display bug in "Find Invoices"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Release Branch 17.12, 18.12.01
    • None
    • None

    Description

      - in the page with the "Invoices List", the numbers are wrong for "Total: EUR 820.2773" of "demo11001".

      Steps to generate:

      Open https://demo-trunk.ofbiz.apache.org/accounting/control/findInvoices

      • see that invoice "demo11001" has the Total of EUR 820.2773.
      • click on the Invoice id "demo11001"
      • if you look at payments, we can see that a payment of EUR 543.23 was made and applied.

      I think the bug is this: 

      • it should display USD 820.2773 or EUR 543.23 in the "Invoices List (find invoieces)" page  ?!?
      • in the project file "../applications/datamodel/data/demo/AccountingDemoData.xml" you
      • can see the converting factor: 
        • <UomConversionDated uomId="USD" uomIdTo="EUR" fromDate="2001-01-01 00:00:00.0" conversionFactor="0.7"/>
          <UomConversionDateduomId="EUR"uomIdTo="USD"fromDate="2001-01-01 00:00:00.0"conversionFactor="1.5"/>  => EUR 543.23 = $ 820.2773
           

      • as an enhancement for the payments in other currencies i think it would be usefull to display the Total amount of the invoice with it's currency alogside the amount of total payments in other currency, applied.

      Attachments

        1. Captură de ecran de la 2021-02-15 17-31-06.png
          12 kB
          Andrei Stan
        2. Captură de ecran de la 2021-02-15 17-33-34.png
          46 kB
          Andrei Stan
        3. OFBIZ-12177.patch
          1 kB
          Priya Sharma

        Issue Links

          Activity

            People

              priya.sharma.9362 Priya Sharma
              sandre1 Andrei Stan
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: