Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047358Retail ModulesDiscounts and Promotionspublic2021-06-26 00:062021-07-08 07:26
lbressan 
rqueralta 
highmajoralways
closedfixed 
5
RR21Q2 
RR21Q3RR21Q3 
No
0047358: 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.
blocks defect 0047254 closed rqueralta Error when making a verified return when there is a promotion 
Issue History
2021-07-07 18:19marvintmTypedefect => backport
2021-07-07 18:19marvintmTarget Version => RR21Q3
2021-07-07 21:34hgbotNote Added: 0130249
2021-07-08 07:26hgbotResolutionopen => fixed
2021-07-08 07:26hgbotStatusscheduled => closed
2021-07-08 07:26hgbotNote Added: 0130259
2021-07-08 07:26hgbotFixed in Version => RR21Q3
2021-07-08 07:26hgbotNote Added: 0130260

Notes
(0130249)
hgbot   
2021-07-07 21:34   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/510 [^]
(0130259)
hgbot   
2021-07-08 07:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/510 [^]
(0130260)
hgbot   
2021-07-08 07:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 8c62ff09b1ecf823ae38703bd7269c796a49cd99
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-07-07T15:32:30-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8c62ff09b1ecf823ae38703bd7269c796a49cd99 [^]

Fixed BUG-47358: Taken the line discounted value

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---