Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035848 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | always | 2017-04-26 13:26 | 2024-11-07 12:10 | |||
Reporter | lorenzofidalgo | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | immediate | Resolution | out of date | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | 2015-11-02 | |||||||
Regression introduced in release | RR16Q1 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/0aa75789a053f6fd069baab3ff1509f3a827e40e [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035848: The Discount Subtype "Apply Average Price" does not calculate the average of the products but discounts one entire product | |||||||
Description | The 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 Reproduce | 0-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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|||
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 | OBNetwork customer | => No |
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 | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/0aa75789a053f6fd069baab3ff1509f3a827e40e [^] |
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 |
2024-06-11 07:22 | guillermogil | Regression level | Production - Confirmed Stable => |
2024-11-05 14:35 | marvintm | Status | scheduled => closed |
2024-11-05 14:35 | marvintm | Resolution | open => out of date |
2024-11-07 11:54 | lorenzofidalgo | Relationship added | related to 0057016 |
2024-11-07 12:10 | lorenzofidalgo | Relationship replaced | duplicate of 0057016 |
Copyright © 2000 - 2009 MantisBT Group |