Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041264Retail ModulesWeb POSpublic2019-06-21 10:582019-08-19 15:34
xabiermerino 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR19Q3RR19Q3 
marvintm
No
0041264: Wrong ticket if we apply two similiar "Free product per total amount" promotions
 Promotion 1 "Free product per total amount"
> Total amount:5
> Free product: Avanalncher

 Promotion 2 "Free product per total amount"
> Total amount:5
> Free product: Avanalncher

1.- Create a ticket with amount > 5
2.- Click Amount button
3.- Introduce one of the promotion
4.- Click again the amount button
5.- Select the other promotion
6.- Pay it
7.- Go to backend and realize that "The sum of the gross of each line does not equal the gross of the order"
No tags attached.
blocks defect 0041148 closed rqueralta Wrong ticket if we apply two similiar "Free product per total amount" promotions 
Issue History
2019-07-03 17:51rqueraltaTypedefect => backport
2019-07-03 17:51rqueraltaTarget Version => RR19Q3
2019-07-03 18:22hgbotCheckin
2019-07-03 18:22hgbotNote Added: 0113160
2019-07-03 18:22hgbotStatusscheduled => resolved
2019-07-03 18:22hgbotResolutionopen => fixed
2019-07-03 18:22hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/954c72f4256abfb5ec05c0f10078e93d7af0938f [^] => http://code.openbravo.com/retail/backports/3.0RR19Q3/org.openbravo.retail.posterminal/rev/2861793fda6a27eeff462a19270e8a9e72f2a2b3 [^]
2019-08-19 15:34marvintmReview Assigned To => marvintm
2019-08-19 15:34marvintmStatusresolved => closed
2019-08-19 15:34marvintmFixed in Version => RR19Q3

Notes
(0113160)
hgbot   
2019-07-03 18:22   
Repository: retail/backports/3.0RR19Q3/org.openbravo.retail.posterminal
Changeset: 2861793fda6a27eeff462a19270e8a9e72f2a2b3
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Jul 03 12:12:48 2019 -0400
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3/org.openbravo.retail.posterminal/rev/2861793fda6a27eeff462a19270e8a9e72f2a2b3 [^]

Fixed issue 41264: Wrong ticket if we apply two similiar "Free product per total
amount" promotions

- After apply the free product discount sometimes the receipt is not recalculated,
now to be sure a calculate gross is forced

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