Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030494Retail ModulesWeb POSpublic2015-08-04 12:282015-09-09 18:58
guilleaer 
Osmany 
normalmajoralways
closedfixed 
5
 
RR15Q4 
marvintm
No
0030494: Using price include taxes + old flow of discounts, if you change the qty of a product the price is not updated
Using price include taxes + old flow of discounts (preference WEB POS Enable New Flow Discount=N), if you change the qty of a product the price is not updated
enable the preference
login in web pos
ensure that prererence is set when login in web pos [OB.MobileApp.get('permissions')]
add lines to a ticket
change qty
you will see that price is not changed
No tags attached.
related to defect 0032513 closed mario_castello [RR15Q3.4] Old Flow Discount: if you change the price of a product the total amount of ticket is not recalculated 
Issue History
2015-08-04 12:28guilleaerNew Issue
2015-08-04 12:28guilleaerAssigned To => Retail
2015-08-04 12:28guilleaerTriggers an Emergency Pack => No
2015-08-04 17:42OsmanyAssigned ToRetail => Osmany
2015-08-04 19:10hgbotCheckin
2015-08-04 19:10hgbotNote Added: 0079191
2015-08-04 19:10hgbotStatusnew => resolved
2015-08-04 19:10hgbotResolutionopen => fixed
2015-08-04 19:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b560f2ae030994cb47869e26c35d295b09d728b4 [^]
2015-09-03 10:49dmitry_mezentsevNote Added: 0080038
2015-09-09 18:58marvintmReview Assigned To => marvintm
2015-09-09 18:58marvintmNote Added: 0080295
2015-09-09 18:58marvintmStatusresolved => closed
2015-09-09 18:58marvintmFixed in Version => RR15Q4
2016-03-21 13:31malsasuaRelationship addedrelated to 0032513

Notes
(0079191)
hgbot   
2015-08-04 19:10   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b560f2ae030994cb47869e26c35d295b09d728b4
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Tue Aug 04 11:10:07 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b560f2ae030994cb47869e26c35d295b09d728b4 [^]

Fixed issue 30494: Using price include taxes + old flow of discounts, if you change the qty of a product the price is not updated.

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
---
(0080038)
dmitry_mezentsev   
2015-09-03 10:49   
Not Closed for 30! days.
(0080295)
marvintm   
2015-09-09 18:58   
The fix fixes the problem correctly. The lines shouldn't be computed before the call to calculateGross, but this will be fixed as part of this issue:

https://issues.openbravo.com/view.php?id=30809 [^]