Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #28599 Back to Issue ]
Summary 0028599: When several discounts overlap, discounts are not correctly calculated
Revision 2016-03-31 10:48 by jorge-garcia
Steps To Reproduce Login POS backend as Openbravo/openbravo and choose the "White Valley group admin" role.
Go to discount and promotions window.
Create a new record:
--
Organization: *
Discount/Promotion Type: Buy X pay Y of same product
Name: 3x2 bottle
Starting Date: 01-01-2012
Apply Next Discount/Promotion: Checked
Included Organizations: Only those defined
Included Products: Only those defined
X Units: 3
Y Units: 2
Go to Products tab and create a new record with: Bottle 1 L
Go to Organization tab and create a new record with: Central Mountains Store
--
Save this record and create 3 more recods like this one just changing its name for "3x2 bottle (bis)", "3x2 bottle (tris)" and "3x2 bottle (cua)".

Now go to POS and login in CMS terminal as centralmountains/openbravo.
Select a new product: Bottle 1 L.
Add with "+" two more products until having 3 of them.
You will observe that all 3x2 discounts are applied.
Check the qty to pay is negative and must be 0.00.

This issue happens also with other kind of discounts (in fact, all the promotion types that may be defined Apply Next Discount/Promotion as checked). See attached video.
Revision 2016-03-31 10:37 by jorge-garcia
Steps To Reproduce Login POS backend as Openbravo/openbravo and choose the "White Valley group admin" role.
Go to discount and promotions window.
Create a new record:
--
Organization: *
Discount/Promotion Type: Buy X pay Y of same product
Name: 3x2 bottle
Starting Date: 01-01-2012
Included Organizations: Only those defined
Included Products: Only those defined
X Units: 3
Y Units: 2
Go to Products tab and create a new record with: Bottle 1 L
Go to Organization tab and create a new record with: Central Mountains Store
--
Save this record and create 3 more recods like this one just changing its name for "3x2 bottle (bis)", "3x2 bottle (tris)" and "3x2 bottle (cua)".

Now go to POS and login in CMS terminal as centralmountains/openbravo.
Select a new product: Bottle 1 L.
Add with "+" two more products until having 3 of them.
You will observe that 3x2 discount is not properly applied.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker