Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2017-04-26 13:262019-02-14 00:44
ReporterlorenzofidalgoView Statuspublic 
Assigned Torqueralta 
PriorityimmediateResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression levelProduction - Confirmed Stable
Regression date2015-11-02
Regression introduced in releaseRR16Q1
Regression introduced by commit [^]
Triggers an Emergency PackNo

0035848: The Discount Subtype "Apply Average Price" does not calculate the average of the products but discounts one entire product

DescriptionThe discount type "Buy X pay Y of different product" can apply the Discount Subtype "Apply Average Price". It is supposed it has to calculate the arithmetic mean of the products added to the receipt that belong to that discount and discount that mean. Instead of that, it is just discounting one entire product and no mean is calculated.
I have been able to reproduce this issue from pi to RR16Q1.3. It is not reproducible in RR15Q4.6.
Besides, it must be taken into account that the old code (RR15Q4.6) has some rounding inaccuracies.
Steps To Reproduce0-Login POS Backend and, using The White Valley Group Admin" role, go to Discounts and Promotions window.
1-Edit the existent "3 x 2 Bottles" record. It must be saved with the following values:
Discount/promotion Type: Buy X pay Y of different product
Name: 3 x 2 Bottles
Starting Date: 01-06-2013
Included Products: Only those defined
(In Definition section)
X Units: 3
Y Units: 2
Discount Subtype: Apply Average Price
Save that record.
2-Go to Products tab and add the following records if they are not already added:
Bottle 1 L
Camel bak 3 L
Plastic bottle
Thermo 1 L
3-Go to POS and login as vallblanca.
4-Click SEARCH tab, enter bottle and click search button.
5-Add to the receipt 1x Bottle 1 L and 2x Plastic bottle
6-Realise the the applied discount is not right.
TagsNo tags attached.
Attached Filespng file icon 16Q1.3AverageDiscount.png [^] (203,293 bytes) 2017-04-26 13:26

png file icon 15Q4.6AverageDiscount.png [^] (222,629 bytes) 2017-04-26 13:27

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0031261 closedjorge-garcia Promotions are wrong applied if there is more than one promotion for the products 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-04-26 13:26 lorenzofidalgo New Issue
2017-04-26 13:26 lorenzofidalgo Assigned To => Retail
2017-04-26 13:26 lorenzofidalgo File Added: 16Q1.3AverageDiscount.png
2017-04-26 13:26 lorenzofidalgo Regression level => Production - Confirmed Stable
2017-04-26 13:26 lorenzofidalgo Regression introduced in release => RR16Q1
2017-04-26 13:26 lorenzofidalgo Triggers an Emergency Pack => No
2017-04-26 13:27 lorenzofidalgo File Added: 15Q4.6AverageDiscount.png
2017-04-26 13:55 jorge-garcia Regression date => 2015-11-02
2017-04-26 13:55 jorge-garcia Regression introduced by commit => [^]
2017-04-26 13:56 jorge-garcia Relationship added caused by 0031261
2019-02-14 00:43 rqueralta Assigned To Retail => rqueralta
2019-02-14 00:44 rqueralta Status new => scheduled

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker