Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057016Retail ModulesWeb POSpublic2024-11-06 13:052024-11-15 11:27
DanielMancho 
radhakrishnan 
normalmajoralways
closedinvalid 
5
 
 
No
No
0057016: [24Q4] Wrong discount while applying a 3 x 2 discount with different product and average price rule on POS1
When creating a 3 x 2 discount with different products and average price rule for POS1, the discount, instead of applying the average rule, it discounts the entire product (The most expensive).
1. Log in backoofice as Group -Admin-The White Valley Group

2. Go to Discounts and Promotions window and Create new record with:

In Header tab

Organization: The White Valley Group
Discount type: Buy X pay Y of different product
Name: Discount 3x2 of diff product (Re-Factor IV)
Starting date: 01-01-2012
Priority: 40
Apply Next Discount/Promotion: No
Included Products: Only those defined
X: 3
Y: 2
Discount Subtype: Apply to Lowest Price
Distribute between line: Checked
In Products tab

Product: Bottle 1 L
Product: Basecamp lantern

3. Go to products window and deselect Grouped product of "Basecamp lantern" and “Bottle 1 L”
4. Log in WEB POS
5. Add one bottle 1 L
6. Add one bottle 1 L
7. Add one basecamp lantern
8. See that the price of the basecamp lantern is totally discounted
No tags attached.
has duplicate defect 0035848 closed rqueralta The Discount Subtype "Apply Average Price" does not calculate the average of the products but discounts one entire product 
png Screenshot from 2024-11-06 12-55-17.png (274,062) 2024-11-06 13:05
https://issues.openbravo.com/file_download.php?file_id=20433&type=bug
png Screenshot from 2024-11-06 12-07-08.png (115,313) 2024-11-06 13:05
https://issues.openbravo.com/file_download.php?file_id=20434&type=bug
png
Issue History
2024-11-06 13:05DanielManchoNew Issue
2024-11-06 13:05DanielManchoAssigned To => Retail
2024-11-06 13:05DanielManchoFile Added: Screenshot from 2024-11-06 12-55-17.png
2024-11-06 13:05DanielManchoOBNetwork customer => No
2024-11-06 13:05DanielManchoTriggers an Emergency Pack => No
2024-11-06 13:05DanielManchoFile Added: Screenshot from 2024-11-06 12-07-08.png
2024-11-06 13:07guillermogilAssigned ToRetail => Triage Omni OMS
2024-11-06 13:14DanielManchoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28730#r28730
2024-11-07 11:54lorenzofidalgoRelationship addedrelated to 0035848
2024-11-07 12:06plujanSeveritycritical => major
2024-11-07 12:10lorenzofidalgoRelationship replacedhas duplicate 0035848
2024-11-07 12:29aferrazNote Added: 0171625
2024-11-07 12:29aferrazAssigned ToTriage Omni OMS => radhakrishnan
2024-11-15 11:27radhakrishnanNote Added: 0172021
2024-11-15 11:27radhakrishnanNote Added: 0172022
2024-11-15 11:27radhakrishnanStatusnew => closed
2024-11-15 11:27radhakrishnanResolutionopen => invalid

Notes
(0171625)
aferraz   
2024-11-07 12:29   
Jira: https://openbravo.atlassian.net/browse/RM-18958 [^]
(0172021)
radhakrishnan   
2024-11-15 11:27   
The issue was not reproducible in 24Q4 and even more it was mistakenly tested with a different discount, and assumed it should be like the mentioned discount
(0172022)
radhakrishnan   
2024-11-15 11:27   
The issue was not reproducible in 24Q4 and even more it was mistakenly tested with a different discount, and assumed it should be like the mentioned discount