Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043221Retail ModulesDiscounts and Promotionspublic2020-02-13 10:032020-02-17 13:35
francisco 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q4.2RR19Q4.2 
guilleaer
Production - QA Approved
2019-08-02
RR19Q4
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/711d273a9a3a/web/org.openbravo.retail.posterminal/js/model/order.js [^]
No
0043221: When you edit a quotation that has discount applyed, the discount is duplicated
If you create a quotation of a product with discount, when you reactivate quotation, the POS automatically apply the discount again creating a new quotation
Tested in retail_stable_pgsql_pi:

Go to POS and from the menu create quotation
Select camping pack (same behavior with other discounts)
Save the quotation
Open receipt and click on the quotation you just done
Reactivate quotation
(Automatically apply again the discount)
No tags attached.
blocks defect 0043212 closed ranjith_qualiantech_com When you edit a quotation that has discount applyed, the discount is duplicated 
Issue History
2020-02-14 07:18ranjith_qualiantech_comTypedefect => backport
2020-02-14 07:18ranjith_qualiantech_comTarget Version => RR19Q4.2
2020-02-17 11:21hgbotCheckin
2020-02-17 11:21hgbotNote Added: 0117848
2020-02-17 11:21hgbotStatusscheduled => resolved
2020-02-17 11:21hgbotResolutionopen => fixed
2020-02-17 11:21hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q4.2/org.openbravo.retail.posterminal/rev/00ae6920a57102af7aa85876c891f70199bfacb1 [^]
2020-02-17 13:35guilleaerReview Assigned To => guilleaer
2020-02-17 13:35guilleaerStatusresolved => closed
2020-02-17 13:35guilleaerFixed in Version => RR19Q4.2

Notes
(0117848)
hgbot   
2020-02-17 11:21   
Repository: retail/backports/3.0RR19Q4.2/org.openbravo.retail.posterminal
Changeset: 00ae6920a57102af7aa85876c891f70199bfacb1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 17 15:50:54 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q4.2/org.openbravo.retail.posterminal/rev/00ae6920a57102af7aa85876c891f70199bfacb1 [^]

Fixed issue 43221 : Remove Promotions when reactivating quotation

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