Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024195Retail ModulesWeb POSpublic2013-06-26 12:582013-07-05 11:41
jecharri 
marvintm 
immediatecriticalalways
closedfixed 
5
RMP23.1 
RMP24 
migueldejuana
No
0024195: Wrong taxable amount in Web POS
Wrong taxable amount in Web POS

-Configure currency with price precision 2 and standard precision 2
-Create a discounts and promotion for product "adhesive body warmers" with 10%
-Change the price of the above product to 0.75 and work with price including taxes
-Go to web POS and add in the ticket.

You will see that taxable amount is 0.61 instead of 0.62
No tags attached.
Issue History
2013-06-26 12:58jecharriNew Issue
2013-06-26 12:58jecharriAssigned To => marvintm
2013-06-26 12:58jecharriResolution time => 1372629600
2013-06-26 13:06jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4826#r4826
2013-06-26 16:52hgbotCheckin
2013-06-26 16:52hgbotNote Added: 0059682
2013-06-26 16:52hgbotStatusnew => resolved
2013-06-26 16:52hgbotResolutionopen => fixed
2013-06-26 16:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/42bf19d53751024317fd138198aabdf67609f173 [^]
2013-06-26 17:42migueldejuanaReview Assigned To => migueldejuana
2013-06-26 17:42migueldejuanaNote Added: 0059687
2013-06-26 17:42migueldejuanaStatusresolved => closed
2013-06-26 17:42migueldejuanaFixed in Version => RMP24
2013-06-28 10:31hgbotCheckin
2013-06-28 10:31hgbotNote Added: 0059763
2013-06-28 10:31hgbotStatusclosed => resolved
2013-06-28 10:31hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/42bf19d53751024317fd138198aabdf67609f173 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/42bf19d53751024317fd138198aabdf67609f173 [^]
2013-07-01 16:57jecharriStatusresolved => new
2013-07-01 16:57jecharriResolutionfixed => open
2013-07-01 16:57jecharriFixed in VersionRMP24 =>
2013-07-01 16:58jecharriStatusnew => scheduled
2013-07-01 16:58jecharrifix_in_branch => pi
2013-07-01 16:58jecharriStatusscheduled => resolved
2013-07-01 16:58jecharriResolutionopen => fixed
2013-07-01 16:59jecharriIssue cloned0024237
2013-07-03 09:47marvintmNote Added: 0059826
2013-07-03 10:49hgbotCheckin
2013-07-03 10:49hgbotNote Added: 0059828
2013-07-03 10:49hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/42bf19d53751024317fd138198aabdf67609f173 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/06c07ab64e471265b0a5be947d2bf21e503300e5 [^]
2013-07-04 16:40hgbotCheckin
2013-07-04 16:40hgbotNote Added: 0059862
2013-07-04 16:40hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/06c07ab64e471265b0a5be947d2bf21e503300e5 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/06c07ab64e471265b0a5be947d2bf21e503300e5 [^]
2013-07-05 11:41guilleaerNote Added: 0059886
2013-07-05 11:41guilleaerStatusresolved => closed

Notes
(0059682)
hgbot   
2013-06-26 16:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 42bf19d53751024317fd138198aabdf67609f173
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jun 26 16:51:47 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/42bf19d53751024317fd138198aabdf67609f173 [^]

Fixed issue 24195. Calculation of net and taxamt will be done correctly (rounding only at the end of the calculation).

---
M src-db/database/sourcedata/AD_TABLE.xml
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0059687)
migueldejuana   
2013-06-26 17:42   
Fixed and reviewed in 42bf19d53751
(0059763)
hgbot   
2013-06-28 10:31   
Repository: erp/pmods/org.openbravo.retail.posterminal.multiorder
Changeset: 42bf19d53751024317fd138198aabdf67609f173
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jun 26 16:51:47 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/42bf19d53751024317fd138198aabdf67609f173 [^]

Fixed issue 24195. Calculation of net and taxamt will be done correctly (rounding only at the end of the calculation).

---
M src-db/database/sourcedata/AD_TABLE.xml
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0059826)
marvintm   
2013-07-03 09:47   
The previous fix was correct, but was not complete. A new fix for this has been committed in this changeset:

https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51f69a104ec30d0ee24b5bfe0e052e217161dc57 [^]
(0059828)
hgbot   
2013-07-03 10:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 06c07ab64e471265b0a5be947d2bf21e503300e5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jul 03 10:49:21 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/06c07ab64e471265b0a5be947d2bf21e503300e5 [^]

Fixed issue 24195. Fixed issue 24220. Avoid division by zero in some cases.

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0059862)
hgbot   
2013-07-04 16:40   
Repository: erp/pmods/org.openbravo.retail.posterminal.multiorder
Changeset: 06c07ab64e471265b0a5be947d2bf21e503300e5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jul 03 10:49:21 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.multiorder/rev/06c07ab64e471265b0a5be947d2bf21e503300e5 [^]

Fixed issue 24195. Fixed issue 24220. Avoid division by zero in some cases.

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0059886)
guilleaer   
2013-07-05 11:41   
reclosed