Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047976Retail ModulesDiscounts and Promotionspublic2021-11-03 17:482022-02-18 08:18
lbressan 
ranjith_qualiantech_com 
highmajoralways
closedno change required 
5
RR18Q3 
RR18Q3 
marvintm
2021-11-16
No
0047976: Error in promotions in the version 18Q3
The problem is that two discounts are applied when just one should be applied.
1) Go to the window "Discount and promotions"

2) Create two promotions that are of type "Free Products per Total Amount" that both are configured

3) In the pos we add a product greater than "500" and we add two products at random.

4) It could be observed that both discounts are applied when only one should be applied

I leave the video link:
https://drive.google.com/drive/u/1/folders/1rUs9ijQRaTN66pUvXRfgm-7HheK6qcOx [^] [^]
No tags attached.
diff 47976_18Q3_discountsbytotal.diff (3,669) 2021-12-23 11:32
https://issues.openbravo.com/file_download.php?file_id=16472&type=bug
diff 47976_18Q3_discountsbytotal_v2.diff (2,667) 2022-01-24 06:13
https://issues.openbravo.com/file_download.php?file_id=16534&type=bug
diff 47976_18Q3_discountsbytotal_v3.diff (3,143) 2022-02-09 11:13
https://issues.openbravo.com/file_download.php?file_id=16596&type=bug
diff 47976_18Q3_posterminal_v3.diff (664) 2022-02-09 11:13
https://issues.openbravo.com/file_download.php?file_id=16597&type=bug
Issue History
2021-11-03 17:48lbressanNew Issue
2021-11-03 17:48lbressanAssigned To => Retail
2021-11-03 17:48lbressanRegression date => 2021-11-16
2021-11-03 17:48lbressanTriggers an Emergency Pack => No
2021-11-03 17:59lbressanNote Added: 0132819
2021-11-11 06:54ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-11-24 16:44dromeroNote Added: 0133329
2021-12-02 18:33dromeroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23381#r23381
2021-12-20 12:38idiezNote Added: 0133843
2021-12-23 11:32ranjith_qualiantech_comFile Added: 47976_18Q3_discountsbytotal.diff
2021-12-23 11:32ranjith_qualiantech_comStatusnew => scheduled
2021-12-23 11:32ranjith_qualiantech_comNote Added: 0133930
2021-12-23 11:32ranjith_qualiantech_comStatusscheduled => resolved
2021-12-23 11:32ranjith_qualiantech_comResolutionopen => fixed
2021-12-24 12:05marvintmStatusresolved => new
2021-12-24 12:05marvintmResolutionfixed => open
2021-12-24 12:06marvintmReview Assigned To => marvintm
2021-12-24 12:06marvintmNote Added: 0133954
2021-12-24 12:06marvintmStatusnew => closed
2021-12-24 12:06marvintmResolutionopen => no change required
2022-01-24 06:13ranjith_qualiantech_comFile Added: 47976_18Q3_discountsbytotal_v2.diff
2022-01-27 13:38dromeroNote Added: 0134610
2022-01-27 13:38dromeroStatusclosed => new
2022-01-27 13:38dromeroResolutionno change required => open
2022-01-27 13:46dromeroNote Added: 0134611
2022-02-08 14:01sofidossantNote Added: 0134834
2022-02-09 11:13ranjith_qualiantech_comFile Added: 47976_18Q3_discountsbytotal_v3.diff
2022-02-09 11:13ranjith_qualiantech_comFile Added: 47976_18Q3_posterminal_v3.diff
2022-02-17 16:20marvintmNote Added: 0135084
2022-02-18 08:18marvintmNote Added: 0135122
2022-02-18 08:18marvintmStatusnew => closed
2022-02-18 08:18marvintmResolutionopen => no change required

Notes
(0132819)
lbressan   
2021-11-03 17:59   
I leave the video link:
https://drive.google.com/drive/u/1/folders/1rUs9ijQRaTN66pUvXRfgm-7HheK6qcOx [^]
(0133329)
dromero   
2021-11-24 16:44   
any update?
(0133843)
idiez   
2021-12-20 12:38   
any update?
(0133930)
ranjith_qualiantech_com   
2021-12-23 11:32   
Possible fix attached for 18Q3
(0133954)
marvintm   
2021-12-24 12:06   
This issue is not reproducible in latest releases. A patch for 18Q3 has been attached.
(0134610)
dromero   
2022-01-27 13:38   
The problem persists in the case of the attached video, where it can be seen that although two promotions are configured for "Does not apply with other promotions", it still allows both promotions to apply to the same ticket.
(0134611)
dromero   
2022-01-27 13:46   
VIDEO:
https://drive.google.com/file/d/1LTIp2SzQW3baLJnrSTJj96au7TlVI_-U/view?usp=sharing [^]
(0134834)
sofidossant   
2022-02-08 14:01   
1) Lets assume we have 2 discounts
Promo1 with FreeProduct1 (Min receipt amount: 100)
Promo2 with FreeProduct2 (Min receipt amount: 100)
In POS.
Add product with amount "100"
Add FreeProduct1
Add FreeProduct2
Both promos should be applied.

2) Lets assume we have 2 discounts
Promo1 with FreeProduct1 (Min receipt amount: 100)
Promo2 with FreeProduct2 (Min receipt amount: 100)
In POS.
Add product with amount "300"
Add FreeProduct1
Add FreeProduct2
Both promos should be applied.

3)
Lets assume we have 2 discounts
Promo1 with FreeProduct1 (Min receipt amount: 100) configured for Does not apply with other promotions
Discount 4x3
In POS.
Add product 4 with disount 4x3
Add FreeProduct1
Both discounts are applied, when only 1 should be applied.
(0135084)
marvintm   
2022-02-17 16:20   
Hi,

We uploaded a new patch. Could you confirm whether it works correctly or not?
(0135122)
marvintm   
2022-02-18 08:18   
We uploaded a new patch for 18Q3