Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040486Retail ModulesWeb POSpublic2019-03-28 18:102019-05-06 15:12
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
 
migueldejuana
No
0040486: Cash Amounts are rounded to the POS precision the second time they are selected but not the first time
Cash Amounts are rounded to the POS precision the second time they are selected but not the first time
In the backoffice:
   Set the POS Precision of EUR to 0 (All the amounts will be rounded to the next integer)

In the POS:
   Create a ticket
   Add a product
   Click on it's total amount
   Select Cash
   Click on 0.10 once
   Check a payment of 0.10 has been included in the screen
   Click on 0.10 again
   Check the payment changes to 0.00 (0.10 rounded to 0)
   Every time you click 0.10 it increases the amount in 0

   The same happens with all the coins with decimals (0.01, 0.02, 0.05, 0.10, 0.20 and 0.50)
No tags attached.
related to design defect 0040487 new Retail Coin amounts should be rounded to POS Precision once they are summed up 
Issue History
2019-03-28 18:10ngarciaNew Issue
2019-03-28 18:10ngarciaAssigned To => Retail
2019-03-28 18:10ngarciaResolution time => 1555538400
2019-03-28 18:10ngarciaTriggers an Emergency Pack => No
2019-03-28 18:25ngarciaRelationship addedrelated to 0038743
2019-03-28 18:26ngarciaRelationship deletedrelated to 0038743
2019-03-28 18:28ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18557#r18557
2019-03-29 15:02rafarodaRelationship addedrelated to 0040487
2019-04-01 11:59ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-04-01 11:59ranjith_qualiantech_comStatusnew => scheduled
2019-04-24 12:56marvintmAssigned Toranjith_qualiantech_com => ngarcia
2019-04-24 12:56marvintmStatusscheduled => feedback
2019-04-29 15:58ngarciaStatusfeedback => scheduled
2019-04-29 15:58ngarciaAssigned Tongarcia => marvintm
2019-04-29 16:39ngarciaResolution time1555538400 => 1556575200
2019-05-01 08:32marvintmAssigned Tomarvintm => ranjith_qualiantech_com
2019-05-03 12:32hgbotCheckin
2019-05-03 12:32hgbotNote Added: 0111473
2019-05-03 12:33hgbotCheckin
2019-05-03 12:33hgbotNote Added: 0111474
2019-05-03 12:33hgbotStatusscheduled => resolved
2019-05-03 12:33hgbotResolutionopen => fixed
2019-05-03 12:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5028ecb1ab0cc04a3e7ec151c4e040abc3781fb8 [^]
2019-05-06 15:12migueldejuanaReview Assigned To => migueldejuana
2019-05-06 15:12migueldejuanaNote Added: 0111501
2019-05-06 15:12migueldejuanaStatusresolved => closed

Notes
(0111473)
hgbot   
2019-05-03 12:32   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9848260b3d9a8dc6fd27ab2cff49487f0d0544c2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri May 03 16:02:14 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9848260b3d9a8dc6fd27ab2cff49487f0d0544c2 [^]

Related to issue 40486 : Enabled OB.DEC.number for rounding the value

---
M web/org.openbravo.mobile.core/source/utils/ob-arithmetic.js
---
(0111474)
hgbot   
2019-05-03 12:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5028ecb1ab0cc04a3e7ec151c4e040abc3781fb8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri May 03 16:02:28 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5028ecb1ab0cc04a3e7ec151c4e040abc3781fb8 [^]

Fixed issue 40486 : Payment amount should be rounded before adding to the payment list

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0111501)
migueldejuana   
2019-05-06 15:12   
Tested and reviewed