Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051994Retail ModulesWeb POSpublic2023-03-28 12:182023-04-21 08:00
kousalya_r 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR23Q3 
No
0051994: Price Decimal Issue
After adding a product and price changed with 3 decimals all prices and amounts are rounded to 2 decimals except the price. Although in the POS we see the price in 2 decimal internally is stored with 3 decimal.
* Add a product to a ticket.
* Set a manual price with more than 2 decimals and check price in the receipt at console.
Please find attached screenshot
No tags attached.
png PriceDecimalIssue (1).png (182,548) 2023-03-28 12:18
https://issues.openbravo.com/file_download.php?file_id=18316&type=bug
png
Issue History
2023-03-28 12:18kousalya_rNew Issue
2023-03-28 12:18kousalya_rAssigned To => Retail
2023-03-28 12:18kousalya_rFile Added: PriceDecimalIssue (1).png
2023-03-28 12:18kousalya_rTriggers an Emergency Pack => No
2023-03-29 10:13guillermogilAssigned ToRetail => dcontrera
2023-04-03 07:28guillermogilAssigned Todcontrera => Retail
2023-04-04 11:08ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-04-04 12:06ranjith_qualiantech_comStatusnew => scheduled
2023-04-10 07:16hgbotNote Added: 0148340
2023-04-21 08:00hgbotResolutionopen => fixed
2023-04-21 08:00hgbotStatusscheduled => closed
2023-04-21 08:00hgbotFixed in Version => RR23Q3
2023-04-21 08:00hgbotNote Added: 0148676
2023-04-21 08:00hgbotNote Added: 0148677

Notes
(0148340)
hgbot   
2023-04-10 07:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1133 [^]
(0148676)
hgbot   
2023-04-21 08:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: a8b414d21b48b8dd48968bf4a14b4b40549a53cb
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 21-04-2023 05:59:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a8b414d21b48b8dd48968bf4a14b4b40549a53cb [^]

Fixed ISSUE-51994: Price should be rounded before changing ticket line price

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/SetLinePrice.js
---
(0148677)
hgbot   
2023-04-21 08:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1133 [^]