Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044815Retail ModulesDiscounts and Promotionspublic2020-08-03 19:262020-09-11 08:07
sdossantos 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
pi 
RR20Q3.1RR20Q3.1 
marvintm
No
0044815: 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.
has duplicate defect 0048288 closed ranjith_qualiantech_com POS duplicated discounts when cancel and replace 
blocks defect 0044745 closed ranjith_qualiantech_com Discount Become Double when cancel and replace a layaway 
Issue History
2020-08-14 07:43marvintmTypedefect => backport
2020-08-14 07:43marvintmTarget Version => RR20Q3.1
2020-08-26 07:05hgbotResolutionopen => fixed
2020-08-26 07:05hgbotStatusscheduled => resolved
2020-08-26 07:05hgbotFixed in Version => RR20Q3.1
2020-08-26 07:05hgbotNote Added: 0122354
2020-09-11 08:07marvintmReview Assigned To => marvintm
2020-09-11 08:07marvintmStatusresolved => closed
2022-01-03 08:34ranjith_qualiantech_comRelationship addedhas duplicate 0048288

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

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

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