Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047004Retail ModulesWeb POSpublic2021-05-31 14:482021-06-08 15:26
aferraz 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR21Q2.1RR21Q2 
Production - Confirmed Stable
RR20Q4
No
0047004: Discounts and taxes are recalculated for an already completed order when paying it
Discounts and taxes are recalculated for an already completed order when paying it
Login in OMNI-1 terminal:
- Create a ticket with one unit of "Avalanche transceiver" and complete it without paying. Check total amount is: 150.50.

Login in backoffice:
- Create a discount of 50% for "Avalanche transceiver" product.

Login in OMNI-1 terminal:
- Refresh data and open previously created order and add a payment. Check total amount is now: 75.25.
No tags attached.
blocks defect 0046904 closed ranjith_qualiantech_com Discounts and taxes are recalculated for an already completed order when paying it 
Issue History
2021-06-07 12:47marvintmTypedefect => backport
2021-06-07 12:47marvintmTarget Version => RR21Q2.1
2021-06-08 14:10hgbotNote Added: 0129181
2021-06-08 14:10hgbotNote Added: 0129182
2021-06-08 15:26hgbotResolutionopen => fixed
2021-06-08 15:26hgbotStatusscheduled => closed
2021-06-08 15:26hgbotNote Added: 0129196
2021-06-08 15:26hgbotFixed in Version => RR21Q2
2021-06-08 15:26hgbotNote Added: 0129197
2021-06-08 15:26hgbotNote Added: 0129198
2021-06-08 15:26hgbotNote Added: 0129199

Notes
(0129181)
hgbot   
2021-06-08 14:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/25 [^]
(0129182)
hgbot   
2021-06-08 14:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/466 [^]
(0129196)
hgbot   
2021-06-08 15:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/25 [^]
(0129197)
hgbot   
2021-06-08 15:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 37a7dce0b63a8f77439ceeabc5268423e096f7bd
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-08T16:22:35+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/37a7dce0b63a8f77439ceeabc5268423e096f7bd [^]

Fixed ISSUE-47004: Discount should not be calculated if ticket is not editable

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/interface/discount-posinterface.js
---
(0129198)
hgbot   
2021-06-08 15:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 1c8c62c9c0576f997308333365adf6df68c4dfd1
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-08T16:22:28+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1c8c62c9c0576f997308333365adf6df68c4dfd1 [^]

Related to ISSUE-47004: Taxes should not be calculated if ticket is not editable

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---
(0129199)
hgbot   
2021-06-08 15:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/466 [^]