Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044816Retail ModulesDiscounts and Promotionspublic2020-08-03 19:262020-12-09 06:39
sdossantos 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
pi 
RR20Q2.2RR20Q2.2 
marvintm
No
0044816: Discount Become Double when cancel and replace a layaway
When we tried to recall a created layaway and change the item the discount becomes double.
The error was reproduced in the 3.0RR19Q4.4, 3.0RR20Q1.1, 3.0RR20Q1.2 and 3.0RR20Q2 versions
Specs:
1) Create one receipt with any product, that has one discount configuration in Discount and Promotions window.
2) Pay the receipt created.
3) Open the paid receipt.
4) Cancel and Replace the receipt created.
5) Add one product (same product or different), you will see that discount is duplicated.
No tags attached.
blocks defect 0044745 closed ranjith_qualiantech_com Discount Become Double when cancel and replace a layaway 
diff 44816_20Q2.diff (3,273) 2020-12-09 06:39
https://issues.openbravo.com/file_download.php?file_id=15147&type=bug
Issue History
2020-08-14 07:43marvintmTypedefect => backport
2020-08-14 07:43marvintmTarget Version => RR20Q2.2
2020-08-26 07:07hgbotResolutionopen => fixed
2020-08-26 07:07hgbotStatusscheduled => resolved
2020-08-26 07:07hgbotFixed in Version => RR20Q2.2
2020-08-26 07:07hgbotNote Added: 0122355
2020-09-11 08:07marvintmReview Assigned To => marvintm
2020-09-11 08:07marvintmStatusresolved => closed
2020-12-09 06:39ranjith_qualiantech_comFile Added: 44816_20Q2.diff

Notes
(0122355)
hgbot   
2020-08-26 07:07   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 76142b778e1e789f6ecb088559e589eb2cedc543
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-08-26T10:37:00+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/76142b778e1e789f6ecb088559e589eb2cedc543 [^]

Fixed ISSUE-44816: Updated LineDiscount Calculated flag when doing CR

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