Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040929Retail ModulesWeb POSpublic2019-05-21 18:292019-06-18 19:16
ngarcia 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR19Q3 
guilleaer
No
0040929: In Count Cash step of Cash Up amounts in foreign currencies are rounded to the POS currency precision
In Count Cash step of Cash Up amounts in foreign currencies are rounded to the POS currency precision
Configure 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

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

In the POS:
   Create a new ticket and add a product
   Check its price to 444
   Add a payment in USD (123.33)

   Create a new ticket and add a product
   Check its price to 1111
   Add a payment in OMR (123.444)

   Do the Cash Up
   Check that in Step 2 (Count Cash) the amounts in foreign currency are converted to 0 decimals (attached a screenshot)
No tags attached.
related to defect 0040928 closed rqueralta The precision of the financial account currency is not used in transactions when paying a ticket with a different currency 
png CashUpMultiCurrency.png (95,523) 2019-05-21 18:29
https://issues.openbravo.com/file_download.php?file_id=12971&type=bug
png
Issue History
2019-05-21 18:29ngarciaNew Issue
2019-05-21 18:29ngarciaAssigned To => Retail
2019-05-21 18:29ngarciaFile Added: CashUpMultiCurrency.png
2019-05-21 18:29ngarciaResolution time => 1560204000
2019-05-21 18:29ngarciaTriggers an Emergency Pack => No
2019-05-21 18:29ngarciaRelationship addedrelated to 0040928
2019-05-28 05:04rqueraltaAssigned ToRetail => rqueralta
2019-05-28 05:04rqueraltaStatusnew => scheduled
2019-06-15 04:40hgbotCheckin
2019-06-15 04:40hgbotNote Added: 0112797
2019-06-15 04:40hgbotStatusscheduled => resolved
2019-06-15 04:40hgbotResolutionopen => fixed
2019-06-15 04:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e47580fddafcbf753a44ba3f9a918ed1c164f59a [^]
2019-06-18 19:16guilleaerReview Assigned To => guilleaer
2019-06-18 19:16guilleaerStatusresolved => closed
2019-06-18 19:16guilleaerFixed in Version => RR19Q3

Notes
(0112797)
hgbot   
2019-06-15 04:40   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e47580fddafcbf753a44ba3f9a918ed1c164f59a
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Jun 13 16:26:35 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e47580fddafcbf753a44ba3f9a918ed1c164f59a [^]

Fixed issue 40929: In Count Cash step of Cash Up amounts in foreign currencies
are rounded to the POS currency precision

- Taked into account the foreing currency precision in cash up process

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
---