Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041739Retail ModulesWeb POSpublic2019-09-02 17:582020-02-18 15:25
joniturralde93 
joniturralde93 
urgentmajoralways
closedfixed 
5
 
 
No
0041739: Free Products per Total Mount discounts don't work when a filter is applied
When you define this kind of discount, in the web POS you get the suggestion to add it (in case "Alert in Web POS" is checked), but the discount doesn't work. It adds the free products but without the discount, so full price of those products is added.
1. Log into https://livebuilds.openbravo.com/retail_modules_pgsql_pi/ [^]
2. In Discounts and Promotions window, record "Travel Pack Free Products"
3. Check "Alert in web POS" and "Active"
4. In 'Free products' tab, deactivate "Balaclava Cap" so another unrelated bug doesn't appear this time
5. Included products: Only those defined - Add All mountain ski board cham in Products tab
6. Total receipt field: 20.00 (for instance)
7. Log into Web POS and add to the order - All mountain ski board cham
8. Press payment button and the system suggests you to add this promotion. Check it and click ok
9. The active free products are added without a discount (full price)
Either completely disable filters for this kind of discounts or make it work properly (I don't know if the filters should apply)
No tags attached.
related to defect 0041767 new Retail Disabling some tests in the external modules that fail with the new discounts engine 
Issue History
2019-09-02 17:58joniturralde93New Issue
2019-09-02 17:58joniturralde93Assigned To => Retail
2019-09-02 17:58joniturralde93Resolution time => 1569189600
2019-09-02 17:58joniturralde93Triggers an Emergency Pack => No
2019-09-05 15:15ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-09-09 09:23ranjith_qualiantech_comStatusnew => scheduled
2019-09-11 12:51ranjith_qualiantech_comRelationship addedrelated to 0041767
2019-09-18 18:37marvintmNote Added: 0114659
2019-09-18 18:37marvintmAssigned Toranjith_qualiantech_com => joniturralde93
2019-09-18 18:37marvintmStatusscheduled => feedback
2020-02-18 15:24joniturralde93Statusfeedback => scheduled
2020-02-18 15:25joniturralde93Statusscheduled => resolved
2020-02-18 15:25joniturralde93Resolutionopen => fixed
2020-02-18 15:25joniturralde93Statusresolved => closed

Notes
(0114659)
marvintm   
2019-09-18 18:37   
As discussed, this is the expected behaviour, in case you use filtering by products in the by total discounts, you need to include the free products as part of the list of products affected by the discount, otherwise they will not receive the discount.