Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030792Retail ModulesWeb POSpublic2015-05-06 10:352015-09-08 17:34
lorenzofidalgo 
platform 
urgentmajoralways
closedno change required 
5
main 
RR15Q4 
No
0030792: Paid amount does not correspond with discounted amount using USA Cash
Discounted amount when certain amount is paid is not correctly calculated while user is working with USA Cash.
I have checked marking that receipt as layaway that quantities are not correctly saved in backend.
1-Login POS as vallblanca//openbravo.
2-Add 1x "Alpine backpack 27 L".
3-Click Total Amount button.
4-Click USA Cash button.
5-Pay 6$ and CHECK that, actually, 5.99$ are discounted INSTEAD OF 6$.
(With next steps we will check how this is saved in backend).
6-In dropdown POS menu, click "Layaway this receipt", click Total Amount button and click in "Layaway" button to layaway this receipt.
7-In backend, go to "Sales Order" window.
8-Select the just created sales order record and go to "Payment Plan" tab and, after that, go to "Payment Details" tab in form view. In "Received (Account Currency)" field you can confirm 5.99$ are received instead of 6$.

--

In step number 5, you can also see this malfunction paying 1cent by 1cent and you will realse sometimes it is not correctly calculated.
No tags attached.
related to defect 0029798 closed jorge-garcia Paid amount does not correspond with discounted amount using USA Cash 
png 6Dollars.png (85,728) 2015-09-08 11:51
https://issues.openbravo.com/file_download.php?file_id=8435&type=bug
png

png 2Cents.png (91,081) 2015-09-08 11:51
https://issues.openbravo.com/file_download.php?file_id=8436&type=bug
png
Issue History
2015-09-08 11:49OrekariaTypedefect => backport
2015-09-08 11:49OrekariaTarget Version => RR15Q4
2015-09-08 11:49OrekariaAssigned ToRetail => platform
2015-09-08 11:49OrekariaTypebackport => defect
2015-09-08 11:51OrekariaFile Added: 6Dollars.png
2015-09-08 11:51OrekariaFile Added: 2Cents.png
2015-09-08 17:23AugustoMauchNote Added: 0080247
2015-09-08 17:23AugustoMauchStatusscheduled => closed
2015-09-08 17:23AugustoMauchResolutionopen => no change required
2015-09-08 17:24AugustoMauchRelationship deletedblocks 0029798
2015-09-08 17:26AugustoMauchRelationship addedrelated to 0029798
2015-09-08 17:34lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9397#r9397

Notes
(0080247)
AugustoMauch   
2015-09-08 17:23   
The root cause of the problem is that there is a precision error in the POS. The ERP shows 5.99 because the value stored in the database is 5.9935332930264