Openbravo Issue Tracking System - Retail Modules
View Issue Details
0023875Retail ModulesDiscounts and Promotionspublic2013-05-22 09:542013-05-23 09:50
sureshbabu 
marvintm 
normalminoralways
closedinvalid 
30Professional Appliance
 
 
No
0023875: Buy X pay Y of different product (cheapest distributed) discount option not working in live builds
Buy X pay Y of different product (cheapest distributed) discount option not working in live builds
Log in ERP as Group -Admin-The White Valley Group
Go to Discounts and Promotions window
Create new record
Header tab
• Discount type: Buy X pay Y of different product
• Name: 3x2 in Lighting (cheapest distributed)
• Starting date: 01-01-2013
• Apply Next Discount/promotion: Unchecked
• Included Product Categories: Only those defined
• X:3
• Y:2
• Discount Type: Apply to lowest price
• Discount Between Line: Checked
Product Category tab
• Product Category: Lighting & Electronics


Then from web pos, i added

Compass 2 numbers
Compass with mirror 1 number

Then i found discount only applied to compass and not for both the products.

Compass 2 numbers 25.50 51.00
3x2 in Lighting (cheapest distributed): (-25.50)
Compass with mirror 1 number 39.90 39.90

No tags attached.
png Discount not distributed to both the lines, in Cheapest price distributed discount option.PNG (155,637) 2013-05-22 09:54
https://issues.openbravo.com/file_download.php?file_id=6152&type=bug
png
Issue History
2013-05-22 09:54sureshbabuNew Issue
2013-05-22 09:54sureshbabuAssigned To => marvintm
2013-05-22 09:54sureshbabuFile Added: Discount not distributed to both the lines, in Cheapest price distributed discount option.PNG
2013-05-23 09:50guilleaerNote Added: 0058888
2013-05-23 09:50guilleaerStatusnew => closed
2013-05-23 09:50guilleaerResolutionopen => invalid

Notes
(0058888)
guilleaer   
2013-05-23 09:50   
This is not an issue.

Here is explained how works this functionality

http://wiki.openbravo.com/wiki/Retail:Discounts_and_Promotions_Rules#Buy_X_pay_Y_of_different_product [^]