Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031117Retail ModulesReturn Receiptpublic2015-10-09 09:202015-10-26 10:08
lorenzofidalgo 
Retail 
normalmajorhave not tried
closedfixed 
5
main 
RR15Q4RR15Q4 
guilleaer
Packaging and release
main
No
0031117: [RR15Q4] Rounding error returning products. Sell products and, after that, returning them can induce unbalanced invoices
"Net Sales" & "Net Returns" are not balanced when the store sell several products and all of them are returned. In CashUp these differences are shown. Besides, in backend, in "Sales Invoice" window it is also shown due to "Total Net Amount" field is not 0.00. In my testing it is "-0.02" (watch attached image).

This is working correctly in RR15Q3.1.
0-Login POS and create a cashup to clean the terminal from previous movements.
1-Once cashup is finished, create a new receipt and add 5x "Alpine skiing backpack 27 L", then complete that receipt paying with cash.
2- Create a new receipt, add 5x "Alpine skiing backpack 27 L" and, in dropdown menu, click "Return this receipt". Then complete this receipt and pay it with cash.
3-Now, in dropdown menu, go to cashup and go next, saving nothing until you are in the last step ("Post, print and close"). There you can see that "Net Sales" and "Net Returns" are not balanced. After checking that, complete the cashup.
4-Go to backend, "Sales Invoice" window and enter in view form of the just created record (due to the cashup). In status bar you can check Total Net Amount" field is not 0.00.
No tags attached.
blocks defect 0031116 closed mario_castello [RR15Q4] Rounding error returning products. Sell products and, after that, returning them can induce unbalanced invoices 
Issue History
2015-10-09 10:22OrekariaTypedefect => backport
2015-10-09 10:22OrekariaTarget Version => RR15Q4
2015-10-23 14:07hgbotCheckin
2015-10-23 14:07hgbotNote Added: 0081262
2015-10-23 14:07hgbotStatusscheduled => resolved
2015-10-23 14:07hgbotResolutionopen => fixed
2015-10-23 14:07hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/1eabe98ccc044a3b02c4487f6e8a350ca2ce89b2 [^]
2015-10-26 10:08guilleaerReview Assigned To => guilleaer
2015-10-26 10:08guilleaerNote Added: 0081298
2015-10-26 10:08guilleaerStatusresolved => closed
2015-10-26 10:08guilleaerFixed in Version => RR15Q4

Notes
(0081262)
hgbot   
2015-10-23 14:07   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 1eabe98ccc044a3b02c4487f6e8a350ca2ce89b2
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 23 14:07:00 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/1eabe98ccc044a3b02c4487f6e8a350ca2ce89b2 [^]

Fixed issue 31117. Add value to discountedGross

---
M web/org.openbravo.retail.posterminal/js/data/dataordertaxes.js
---
(0081298)
guilleaer   
2015-10-26 10:08   
Tested and Verified