Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048377Retail ModulesDiscounts by Totalpublic2022-01-11 14:382022-01-24 07:13
closedunable to reproduce 
30Openbravo Appliance 14.04
0048377: Discount/promotion type Free Product per Total
In the Webpos, when we try to use a promotion type : Free Product per total amount, We set up a Free Products per Total Amount Promo but it does not work.
From the purchase of $2,5000 in the following products should give a free product.
But when we add the free product :
we see 2 thing : first the product price is set to 0 then quickly the sales price is add
in the window : discount and promotion

set up a promotion as following :
discount/promotion type : Free Products per Total Amount
Included BP Categories: All excluding defined
Included BP Set :All excluding defined
Included Business Partners :All excluding defined
Included Product Categories :All excluding defined
Included Products :Only those defined
Include Price Lists :All excluding defined
Included Organizations :All excluding defined
Included Characteristics :All excluding defined

Total receipt :2.500.00

in the tab product : one productA
In the tab free product : another productB

If you made a sales with productA for 2,500
the free productB is proposed but if you selected it, the productB price is set to the sales price and not to 0
This seem to be the same issue as the Mantis : [^]

I would like a backport of this fix for the 18Q3 version
No tags attached.
diff 48377_18Q3_posterminal.diff (2,509) 2022-01-20 10:11
diff 48377_18Q3_discountsbytotal.diff (954) 2022-01-20 10:12
Issue History
2022-01-11 14:38Theo_DelobelNew Issue
2022-01-11 14:38Theo_DelobelAssigned To => Retail
2022-01-11 14:38Theo_DelobelTriggers an Emergency Pack => No
2022-01-19 06:19ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-01-20 10:11ranjith_qualiantech_comFile Added: 48377_18Q3_posterminal.diff
2022-01-20 10:12ranjith_qualiantech_comFile Added: 48377_18Q3_discountsbytotal.diff
2022-01-24 06:30ranjith_qualiantech_comStatusnew => scheduled
2022-01-24 06:31ranjith_qualiantech_comNote Added: 0134503
2022-01-24 06:31ranjith_qualiantech_comStatusscheduled => resolved
2022-01-24 06:31ranjith_qualiantech_comResolutionopen => fixed
2022-01-24 07:13marvintmStatusresolved => new
2022-01-24 07:13marvintmResolutionfixed => open
2022-01-24 07:13marvintmReview Assigned To => marvintm
2022-01-24 07:13marvintmNote Added: 0134505
2022-01-24 07:13marvintmStatusnew => closed
2022-01-24 07:13marvintmResolutionopen => unable to reproduce

2022-01-24 06:31   
Created Patch for the version 18Q3 and attached to the issue.
2022-01-24 07:13   
The issue is not reproducible in master. We attached patches for 18Q3 release