Openbravo Issue Tracking System - POS2
View Issue Details
0049753POS2POSpublic2022-07-07 11:222024-02-08 12:47
andre_montenegro 
Retail 
highmajoralways
closedduplicate 
5
22Q3 
 
No
0049753: [23Q1] Buy X, Pay Y discount applying average price do not apply the correct discount
Buy X and pay Y of different product applying an average total price discount, applies a discount of the most expensive product price.

This behavior can also be reproduced in 22q3 and 22q2 releases of livebuilds pos1.
Preconditions:
 
- Log in ERP as Group -Admin-The White Valley Group
- Go to Discounts and Promotions window
- Create new record
- Header tab
- Discount type: Buy X pay Y of different product
- Name: 3x2 in Lighting (avg)
- Starting date: 01-01-2012
- Included Product Categories: Only those defined
- X: 3
- Y: 2
- Discount Subtype: Apply Average Price
- Products Category tab
- Product Category: Lighting & Electronics
 
Steps to reproduce:
- Log in POS (online)
- Add 2 Compass and 1 Battery Charger


Observed Result: Discount is applied to Compass -19.85 and to Battery Charger -12.65 / Total ticket price: 51.00


Expected Result: Discount is applied to Compass -16.98 and to Batery Charger -10.82 / Total ticket price: 55.70

No tags attached.
duplicate of defect 0054372 new Triage Omni OMS [24Q1] Buy X pay Y of different product (average) is discounting the highest price 
png BuyXPayY-average_nok.png (85,405) 2022-07-07 11:22
https://issues.openbravo.com/file_download.php?file_id=17286&type=bug
png
Issue History
2022-07-07 11:22andre_montenegroNew Issue
2022-07-07 11:22andre_montenegroAssigned To => Retail
2022-07-07 11:22andre_montenegroFile Added: BuyXPayY-average_nok.png
2022-07-07 11:22andre_montenegroRegression level => QA functional test
2022-07-07 11:22andre_montenegroTriggers an Emergency Pack => No
2022-07-07 11:24andre_montenegroDescription Updatedbug_revision_view_page.php?rev_id=24439#r24439
2022-07-07 11:24andre_montenegroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24441#r24441
2022-07-07 13:38andre_montenegroFile Added: OrderDiscount_BackOffice.png
2022-07-07 13:38andre_montenegroFile Deleted: OrderDiscount_BackOffice.png
2022-07-15 13:50andre_montenegroRegression levelQA functional test =>
2022-07-15 13:50andre_montenegroTarget Version22Q3 =>
2022-07-28 09:49plujanPriorityurgent => normal
2022-07-28 09:49plujanSeveritycritical => major
2023-02-14 09:35andre_montenegroPrioritynormal => high
2023-02-14 09:35andre_montenegroSummary[22Q3] Buy X, Pay Y discount applying average price do not apply the correct discount => [23Q1 / 22Q3] Buy X, Pay Y discount applying average price do not apply the correct discount
2023-02-14 09:59andre_montenegroversion => 22Q3
2023-03-08 09:45andre_montenegroSummary[23Q1 / 22Q3] Buy X, Pay Y discount applying average price do not apply the correct discount => [23Q1] Buy X, Pay Y discount applying average price do not apply the correct discount
2023-03-08 09:45andre_montenegroDescription Updatedbug_revision_view_page.php?rev_id=25646#r25646
2024-02-08 12:45andre_montenegroRelationship addedhas duplicate 0054372
2024-02-08 12:47andre_montenegroRelationship replacedduplicate of 0054372
2024-02-08 12:47andre_montenegroStatusnew => closed
2024-02-08 12:47andre_montenegroResolutionopen => duplicate

There are no notes attached to this issue.