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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028599
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsminoralways2015-01-13 18:132016-03-31 11:01
ReporterlorenzofidalgoView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028599: When several discounts overlap, discounts are not correctly calculated

DescriptionWhen several discounts overlap, discounts are not correctly calculated.
For example, if several Buy 3 item, pay 2 item concur, instead of just paying 2, you can even receive money.
Steps To ReproduceLogin 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.
TagsNo tags attached.
Attached Filespng file icon DoubleDiscount.png [^] (246,152 bytes) 2015-01-13 18:13


png file icon CuaDiscount.png [^] (249,569 bytes) 2015-01-13 18:15


? file icon issue28599.mp4 [^] (2,734,215 bytes) 2016-03-31 10:37

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0085350)
jorge-garcia (reporter)
2016-03-31 11:01

This issue will be set as Minor issue.

Although the result of the ticket is not OK (must be 0.00) this is a wrong configuration problem in the backend.

- Issue History
Date Modified Username Field Change
2015-01-13 18:13 lorenzofidalgo New Issue
2015-01-13 18:13 lorenzofidalgo Assigned To => marvintm
2015-01-13 18:13 lorenzofidalgo File Added: DoubleDiscount.png
2015-01-13 18:13 lorenzofidalgo Triggers an Emergency Pack => No
2015-01-13 18:15 lorenzofidalgo File Added: CuaDiscount.png
2015-05-15 17:48 marvintm Severity critical => major
2016-03-30 17:58 jorge-garcia Assigned To marvintm => Retail
2016-03-30 17:58 jorge-garcia Status new => acknowledged
2016-03-31 10:37 jorge-garcia File Added: issue28599.mp4
2016-03-31 10:48 jorge-garcia Steps to Reproduce Updated View Revisions
2016-03-31 11:01 jorge-garcia Note Added: 0085350
2016-03-31 11:01 jorge-garcia Severity major => minor


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker