Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040928
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-05-21 18:202019-06-18 14:56
ReporterngarciaView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision9cc793f1bb71
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040928: The precision of the financial account currency is not used in transactions when paying a ticket with a different currency

DescriptionThe precision of the financial account currency is not used in transactions when paying a ticket with a different currency
Steps To ReproduceConfigure the Format.xml to show 3 decimals in euro (amounts) and price formats

As System Admin role:
   Set the following POS Precision:
      EUR: 0
      USD: 2
      OMR: 3

As group admin:
   Define the following conversions:
      OMR -> EUR: 9
      USD -> EUR: 3.6

   Set a price of 7999 to a product in the store's price list (price including taxes)

   Configure the Touchpoint to accept payments in EUR, USD and OMR

In the POS:
   Create a new ticket and add the previously created product
   Check the total amount is 7999
   Add a payment of 6444 in EUR
   Add a payment of 123.456 OMR (1111 AED as it is rounded to 0 decimals)
   Add a payment of 123.33 USD (444 AED as it is rounded to 0 decimals)

   Complete it

In the backoffice:
   Check the amount in USD financial account has been rounded to 123.00
   Check the amount in OMR financial account has been rounded to 123.00

   The Received (Financial Account) field of the Payment In have also the same values

   In the Sales Order - Payment Plan - Payment Details, Received (Account Currency) are also wrong but have different values:

   USD: 123.333
   OMR: 123.444

   In the same tab, the Expected (Account Currency) is also wrongly rounded:

      USD: 2221.944
      OMR: 888.778
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040720 closedrqueralta Payments in foreign currency with more decimals than currency's precision if grouped in a Payment Method Category 
related to defect 0040929 closedrqueralta In Count Cash step of Cash Up amounts in foreign currencies are rounded to the POS currency precision 
causes defect 0041114 newRetail Invoicing an Order with a prepayment in a different currency shows inconsistent Received Amounts in the Payment Plan of Order 

-  Notes
(0112792)
hgbot (developer)
2019-06-14 16:50

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b1fb14999c4b03af5dfdba258e75d406a6281eb6
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Jun 11 14:35:20 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b1fb14999c4b03af5dfdba258e75d406a6281eb6 [^]

Fixed issue 40928: The precision of the financial account currency is not
used in transactions when paying a ticket with a different currency

- Taked into account the foreing currency precision for all transactions instead
 terminal currency precision. Also the Payment Detail view was modified to show
 the foreing amount instead calculate it from amount by rate

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0112793)
hgbot (developer)
2019-06-14 16:56

Repository: erp/devel/pi
Changeset: 9cc793f1bb71e37b7f18eb6716ea760dafe55815
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Jun 11 14:48:21 2019 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/9cc793f1bb71e37b7f18eb6716ea760dafe55815 [^]

Fixed issue 40928: The precision of the financial account currency is not
used in transactions when paying a ticket with a different currency

- Payment Detail view was modified to show the foreing amount instead calculate
it from payment amount by rate

---
M src-db/database/model/views/FIN_PAYMENT_DETAIL_V.xml
---
(0112795)
hudsonbot (developer)
2019-06-14 21:25

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/aa7e94d5a8c3 [^]
Maturity status: Test
(0112862)
jorge-garcia (developer)
2019-06-18 14:56

Solution is not correct.

Review problem described in issue number 41114

- Issue History
Date Modified Username Field Change
2019-05-21 18:20 ngarcia New Issue
2019-05-21 18:20 ngarcia Assigned To => Retail
2019-05-21 18:20 ngarcia Triggers an Emergency Pack => No
2019-05-21 18:29 ngarcia Relationship added related to 0040929
2019-05-21 18:30 ngarcia Relationship added related to 0040720
2019-05-28 05:03 rqueralta Assigned To Retail => rqueralta
2019-05-28 05:03 rqueralta Status new => scheduled
2019-06-14 16:50 hgbot Checkin
2019-06-14 16:50 hgbot Note Added: 0112792
2019-06-14 16:50 hgbot Status scheduled => resolved
2019-06-14 16:50 hgbot Resolution open => fixed
2019-06-14 16:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b1fb14999c4b03af5dfdba258e75d406a6281eb6 [^]
2019-06-14 16:56 hgbot Checkin
2019-06-14 16:56 hgbot Note Added: 0112793
2019-06-14 16:56 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b1fb14999c4b03af5dfdba258e75d406a6281eb6 [^] => http://code.openbravo.com/erp/devel/pi/rev/9cc793f1bb71e37b7f18eb6716ea760dafe55815 [^]
2019-06-14 21:25 hudsonbot Checkin
2019-06-14 21:25 hudsonbot Note Added: 0112795
2019-06-18 14:00 jorge-garcia Relationship added causes 0041114
2019-06-18 14:56 jorge-garcia Note Added: 0112862
2019-06-18 14:56 jorge-garcia Status resolved => new
2019-06-18 14:56 jorge-garcia Resolution fixed => open


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker