Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024081Retail ModulesWeb POSpublic2013-06-14 10:262013-07-05 11:42
jecharri 
marvintm 
urgentmajoralways
closedfixed 
5
 
RMP24RMP24 
guilleaer
OBPS
21745
No
0024081: Bug with rounding in web POS
Bug with rounding in web POS
-configure one instance with the attached Format.xml
-login as "system" and change the currency "price precision" to 4

-configure web POS with one price list without taxes
-Login in web POS
-add a product with price "4.5" and qty "1.77" and tax rate "Exemnt"
-finally pay with 20€

You will get the following result:
-total 7.97
-tax base: 7.965 instead of 7.97
-total paid 20
-change 12.04 instead of 12.03
No tags attached.
xml Format.xml (3,280) 2013-06-14 10:26
https://issues.openbravo.com/file_download.php?file_id=6199&type=bug
Issue History
2013-06-14 10:26jecharriNew Issue
2013-06-14 10:26jecharriAssigned To => marvintm
2013-06-14 10:26jecharriOBNetwork customer => Yes
2013-06-14 10:26jecharriResolution time => 1374098400
2013-06-14 10:26jecharriSupport ticket => 21745
2013-06-14 10:26jecharriFile Added: Format.xml
2013-06-14 10:27jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4794#r4794
2013-06-14 10:42jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4795#r4795
2013-06-14 15:30hgbotCheckin
2013-06-14 15:30hgbotNote Added: 0059447
2013-06-14 15:30hgbotStatusnew => resolved
2013-06-14 15:30hgbotResolutionopen => fixed
2013-06-14 15:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7d5612c40c9ca65e1fae94a802715b3e8966fdbc [^]
2013-06-14 16:14marvintmNote Added: 0059448
2013-06-18 13:36guilleaerReview Assigned To => guilleaer
2013-06-18 13:36guilleaerNote Added: 0059488
2013-06-18 13:36guilleaerStatusresolved => closed
2013-06-18 13:36guilleaerFixed in Version => RMP24
2013-06-28 10:27hgbotCheckin
2013-06-28 10:27hgbotNote Added: 0059751
2013-06-28 10:27hgbotStatusclosed => resolved
2013-06-28 10:27hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7d5612c40c9ca65e1fae94a802715b3e8966fdbc [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/7d5612c40c9ca65e1fae94a802715b3e8966fdbc [^]
2013-07-05 11:42guilleaerNote Added: 0059888
2013-07-05 11:42guilleaerStatusresolved => closed

Notes
(0059447)
hgbot   
2013-06-14 15:30   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7d5612c40c9ca65e1fae94a802715b3e8966fdbc
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Jun 14 15:30:28 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7d5612c40c9ca65e1fae94a802715b3e8966fdbc [^]

Fixed issue 24081. Tax base will be formatted with the correct number of decimals. Change calculation will also take into account the correct number of decimals.

---
M web/org.openbravo.retail.posterminal/js/components/renderorderline.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0059448)
marvintm   
2013-06-14 16:14   
This commit is also needed for this fix:

https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/25482b4994f7 [^]
(0059488)
guilleaer   
2013-06-18 13:36   
Verified
(0059751)
hgbot   
2013-06-28 10:27   
Repository: erp/pmods/org.openbravo.retail.posterminal.multiorder
Changeset: 7d5612c40c9ca65e1fae94a802715b3e8966fdbc
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Jun 14 15:30:28 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/7d5612c40c9ca65e1fae94a802715b3e8966fdbc [^]

Fixed issue 24081. Tax base will be formatted with the correct number of decimals. Change calculation will also take into account the correct number of decimals.

---
M web/org.openbravo.retail.posterminal/js/components/renderorderline.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0059888)
guilleaer   
2013-07-05 11:42   
reclosed