Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054569Retail ModulesDiscounts by Totalpublic2024-02-02 18:102024-03-19 14:24
sdossantos 
Triage Omni OMS 
highmajoralways
closedunable to reproduce 
5
RR20Q3.4 
 
No
0054569: Bad calculation of the total when there are lines with other manual discounts
When I configure User Defined Percentage - A where it has a higher priority than the discount Variable Discount per Total Amount - B, and I have 2 lines, and the first I apply the 100% discount to A and then I apply B, the calculation is wrong.
1 - Configure User Defined Percentage - A, priority 5
2 - Configure Variable Discount per Total Amount - B, priotity 10
3 - Open webPos, add 2 lines.
4 - In the first line with 100EUR, apply the discount A for 100% - line with 0 eur
5- In the second line with 20 EUR, apply the discount B for 10 EUR, This 10 is distributed on all lines.

The desired result would be 10 euros, but in reality it is more, because it is poorly distributed.
No tags attached.
Issue History
2024-02-02 18:10sdossantosNew Issue
2024-02-02 18:10sdossantosAssigned To => Retail
2024-02-02 18:10sdossantosTriggers an Emergency Pack => No
2024-03-06 11:05jorgewederagoAssigned ToRetail => Triage Omni OMS
2024-03-18 10:32ramprakashNote Added: 0162261
2024-03-18 10:33ramprakashNote Added: 0162262
2024-03-18 10:33ramprakashStatusnew => closed
2024-03-18 10:33ramprakashResolutionopen => unable to reproduce
2024-03-18 10:37aferrazNote Deleted: 0162262
2024-03-19 14:24sdossantosNote Added: 0162366

Notes
(0162261)
ramprakash   
2024-03-18 10:32   
Checked in Master Unable to Reproduce the Issue. Continue checking it in RR20Q3.4
(0162366)
sdossantos   
2024-03-19 14:24   
video and image
https://drive.google.com/file/d/1d7Vb2G64cWh-b-3Kl9x8LygWeq9JxoYP/view?usp=drive_link, [^] https://drive.google.com/file/d/1xrxpS5--K70qYQrFMdBkt6LzhCdZ2Y7O/view?usp=drive_link, [^] https://drive.google.com/file/d/1VfUgD6QVHZTc7eVo7dnh7DHXrsQXKrYv/view?usp=drive_link [^]