Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042569Retail ModulesWeb POSpublic2019-12-16 13:202020-01-03 10:21
samuel_nicuesa 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR20Q2 
marvintm
No
0042569: Service price is getting recalculated while changing price precision from 0 to 2 using (pricestd) variable
Service price is getting recalculated while changing price precision from 0 to 2 using (pricestd) variable
[BO]
As System admin ,Currency window configure price precision 0.
Configure a product in order to include a related service.

I configured the service amount as 2.5 €


[POS]
Create a ticket adding the product that has a related service
Pay the ticket

[BO]
As system admin change the price precision to 2 in Currency window
Find the orderline created that contains the service
Update the pricestd variable using

update c_orderline set pricestd = 1.5 where c_orderline_id = '';

[POS]
Refresh the WEB POS in order to have price precision 2

Click on Open receipt and find the ticket created previously

You will see that the service amount has been recalculated

No tags attached.
related to design defect 0042500 acknowledged Retail Wrong amounts are shown when a ticket is created using Precision 0 and it is opened in a terminal with different precision 
png Imagen1.png (36,667) 2019-12-16 13:23
https://issues.openbravo.com/file_download.php?file_id=13677&type=bug
png

png imagen2.png (56,676) 2019-12-16 13:23
https://issues.openbravo.com/file_download.php?file_id=13678&type=bug
png

patch issue 42569 source posterminal.patch (4,220) 2019-12-27 13:15
https://issues.openbravo.com/file_download.php?file_id=13736&type=bug
Issue History
2019-12-16 13:20samuel_nicuesaNew Issue
2019-12-16 13:20samuel_nicuesaAssigned To => Retail
2019-12-16 13:20samuel_nicuesaResolution time => 1546729200
2019-12-16 13:20samuel_nicuesaTriggers an Emergency Pack => No
2019-12-16 13:23samuel_nicuesaFile Added: Imagen1.png
2019-12-16 13:23samuel_nicuesaFile Added: imagen2.png
2019-12-16 15:17ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-12-17 12:59rafarodaIssue Monitored: rafaroda
2019-12-17 13:00rafarodaRelationship addedrelated to 0042500
2019-12-17 15:32marvintmResolution time1546729200 => 1578265200
2019-12-17 15:39hgbotCheckin
2019-12-17 15:39hgbotNote Added: 0116379
2019-12-17 15:39hgbotStatusnew => resolved
2019-12-17 15:39hgbotResolutionopen => fixed
2019-12-17 15:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3207ca582d5c200dc498fd543f2382a68beb1c69 [^]
2019-12-23 15:17ranjith_qualiantech_comStatusresolved => new
2019-12-23 15:17ranjith_qualiantech_comResolutionfixed => open
2019-12-24 13:47ranjith_qualiantech_comStatusnew => scheduled
2019-12-24 13:47ranjith_qualiantech_comFile Added: issue 42569 source posterminal.patch
2019-12-27 13:15ranjith_qualiantech_comFile Deleted: issue 42569 source posterminal.patch
2019-12-27 13:15ranjith_qualiantech_comFile Added: issue 42569 source posterminal.patch
2020-01-03 07:22hgbotCheckin
2020-01-03 07:22hgbotNote Added: 0116615
2020-01-03 07:22hgbotStatusscheduled => resolved
2020-01-03 07:22hgbotResolutionopen => fixed
2020-01-03 07:22hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3207ca582d5c200dc498fd543f2382a68beb1c69 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a4266d26132ea9728387fd44fa966fe15191c2e3 [^]
2020-01-03 10:21marvintmReview Assigned To => marvintm
2020-01-03 10:21marvintmStatusresolved => closed
2020-01-03 10:21marvintmFixed in Version => RR20Q2

Notes
(0116379)
hgbot   
2019-12-17 15:39   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3207ca582d5c200dc498fd543f2382a68beb1c69
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Dec 17 20:09:38 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3207ca582d5c200dc498fd543f2382a68beb1c69 [^]

Fixed issue 42569 : Line price is updated with unitprice when opening paid receipt

* Line price is updated with unitprice irrespective of receipt priceIncludesTax

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0116615)
hgbot   
2020-01-03 07:22   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a4266d26132ea9728387fd44fa966fe15191c2e3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jan 03 11:52:03 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a4266d26132ea9728387fd44fa966fe15191c2e3 [^]

Fixed issue 42569 : Receipt Lines Gross should not be recalculated when opening paid receipt

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---