Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047254Retail ModulesDiscounts and Promotionspublic2021-06-26 00:062021-07-07 18:23
lbressan 
rqueralta 
highmajoralways
closedfixed 
5
RR21Q2 
RR21Q4 
Production - Confirmed Stable
RR20Q4
No
0047254: Error when making a verified return when there is a promotion
The error is developed after performing the update to version 21Q2 that is in QAA status.

When making a verified return when there is a promotion, if the rate is without taxes, charge the order and when paying, the final amount changes.

It was checked in the livebuilds, video sent by the client https://youtu.be/lUfxGRDGtIo [^]
1- Configure rate without taxes on the webpos
2- Configure 100% discount of the User Defined Percentage type
3- Make a sale by applying the previous discount to one of the lines
4- Make the verified return and make payment, the total amount is modified
No tags attached.
depends on backport 0047358RR21Q3 closed rqueralta Error when making a verified return when there is a promotion 
depends on backport 0047359RR21Q2.1 closed rqueralta Error when making a verified return when there is a promotion 
depends on backport 0047360RR21Q1.4 closed rqueralta Error when making a verified return when there is a promotion 
causes defect 0048248 closed ranjith_qualiantech_com Wrong ticket amount when doing a Verified Return of a ticket with discount 
Issue History
2021-06-26 00:06lbressanNew Issue
2021-06-26 00:06lbressanAssigned To => Retail
2021-06-26 00:06lbressanResolution time => 1626991200
2021-06-26 00:06lbressanTriggers an Emergency Pack => No
2021-06-27 13:24rqueraltaAssigned ToRetail => rqueralta
2021-06-27 13:24rqueraltaStatusnew => scheduled
2021-06-27 14:31PracticsIssue Monitored: Practics
2021-07-06 04:47hgbotNote Added: 0130149
2021-07-06 04:48hgbotNote Added: 0130150
2021-07-07 01:09hgbotNote Added: 0130206
2021-07-07 05:42hgbotNote Added: 0130208
2021-07-07 15:37hgbotNote Added: 0130231
2021-07-07 18:10marvintmStatusscheduled => acknowledged
2021-07-07 18:11hgbotNote Added: 0130238
2021-07-07 18:14hgbotNote Added: 0130239
2021-07-07 18:19marvintmStatusacknowledged => scheduled
2021-07-07 18:20marvintmRegression level => Production - Confirmed Stable
2021-07-07 18:20marvintmRegression introduced in release => RR20Q4
2021-07-07 18:23hgbotResolutionopen => fixed
2021-07-07 18:23hgbotStatusscheduled => closed
2021-07-07 18:23hgbotFixed in Version => RR21Q4
2021-07-07 18:23hgbotNote Added: 0130240
2021-07-07 18:23hgbotNote Added: 0130241
2021-12-14 12:21aferrazRelationship addedcauses 0048248

Notes
(0130149)
hgbot   
2021-07-06 04:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/506 [^]
(0130150)
hgbot   
2021-07-06 04:48   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/105 [^]
(0130206)
hgbot   
2021-07-07 01:09   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/506 [^]
(0130208)
hgbot   
2021-07-07 05:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/508 [^]
(0130231)
hgbot   
2021-07-07 15:37   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/508 [^]
(0130238)
hgbot   
2021-07-07 18:11   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/508 [^]
(0130239)
hgbot   
2021-07-07 18:14   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/509 [^]
(0130240)
hgbot   
2021-07-07 18:23   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 47c20b2a17f30c967126313c475d1c79e903c047
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-07-07T16:21:59+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/47c20b2a17f30c967126313c475d1c79e903c047 [^]

Fixed BUG-47254: Taken the line discounted value

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---
(0130241)
hgbot   
2021-07-07 18:23   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/509 [^]