Openbravo Issue Tracking System - POS2
View Issue Details
0048371POS2Restaurantspublic2021-12-17 12:232022-01-17 13:16
mmohammad 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
TAPTAP 
guilleaer
No
0048371: Jira 2579 [TAP] The rounding calculation is not always correct in verified return with discount
In the test environment, there are an issue on the verified return with discount. The rounding calculation is not correct where there are more than one quantity for a same product. There are a lot of product with a price finished by 0.95.

I can reproduce it on livebuilds
1. In the back office, go to Price list and find the list "The White Valley Group Sale Price List Version".
2. In the tab Product price , find Adhesive body warmers : change the price to 3.95 (unit price and list price)
3. Create a promotion (Fixed Percentage per Total Amount) with fixed percentage of 10%
4. Go to WEBPOS and log in, Update datas on WEBPOS, log out and log in.
5. Choose the product Adhesive body warmers and select it 2 times
6. Apply a disount of 10% Fixed Percentage per Total Amount (previously created)
7. Pay for the receipt.
8. Now make a verified return on the whole receipt => the price of return is not the same as the initial receipt
No tags attached.
blocks defect 0048273 closed ranjith_qualiantech_com Jira 2579 [TAP] The rounding calculation is not always correct in verified return with discount 
Issue History
2022-01-11 08:47guilleaerTypedefect => backport
2022-01-11 08:47guilleaerTarget Version => TAP
2022-01-11 08:47guilleaerAssigned ToRetail => ranjith_qualiantech_com
2022-01-17 10:31ranjith_qualiantech_comNote Added: 0134323
2022-01-17 13:15guilleaerStatusscheduled => resolved
2022-01-17 13:15guilleaerFixed in Version => TAP
2022-01-17 13:15guilleaerResolutionopen => fixed
2022-01-17 13:16guilleaerReview Assigned To => guilleaer
2022-01-17 13:16guilleaerStatusresolved => closed

Notes
(0134323)
ranjith_qualiantech_com   
2022-01-17 10:31   
Submitted MR
https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/142 [^]
https://gitlab.com/obcustomers/AGAP/org.openbravo.retail.posterminal/-/merge_requests/19 [^]