Openbravo Issue Tracking System - POS2 | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0052219 | POS2 | Restaurants | public | 2023-04-25 11:10 | 2023-08-23 07:00 | |||||||
Reporter | asier_perez | |||||||||||
Assigned To | Rajesh_18 | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | scheduled | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0052219: [23Q2] The price of a product with modifiers is calculated incorrectly when editing its modifiers | |||||||||||
Description | Some products have modifiers that alter its price, such as extra ingredients. When those modifiers are edited, altering the total price each time, the product's price is calculated incorrectly and it can be paid while it is in that state. | |||||||||||
Steps To Reproduce | 1) Log in POS2 2) Change to Restaurants schema 3) Select Cheeseburger to add it to the product 4) In the 'Step 1 of 2: Modifiers', click Next button 5) In the 'Step 2 of 2: Meat Temperature', select Blue => The Cheeseburger should have been added to the ticket with a price of 7.00 € 6) Select the Cheeseburger in the ticket 7) In the popup, click on Edit Modifiers 8) In the 'Step 1 of 3: Cooking Start Time', click Next button 9) In the 'Step 2 of 3: Meat Temperature', click Next button 10) In the 'Step 3 of 3: Modifiers', select Egg and Olive extra ingredients 11) Click on the Apply button => The Cheeseburger's price should have been changed to 8.25 € (7.00 + 1.00 + 0.25) 12) Repeat steps 6, 7 and 8 13) In the 'Step 2 of 3: Meat Temperature', select 'Well done' 14) In the 'Step 3 of 3: Modifiers', deselect Egg and select Pickle 15) Click on the Apply button => The Cheeseburger's price is incorrect: 7.00 + 0.50 + 0.25 + 0.25 = 8.00 €, but instead 9.00 € is displayed, and the ticket can be paid with that incorrect price There are more similar flows that display the price incorrectly, such as checking, when editing a Cheeseburger's modifiers, checking and unchecking 'Egg' and then clicking 'Apply'. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | incorrect-price.png (18,132) 2023-04-25 11:10 https://issues.openbravo.com/file_download.php?file_id=18415&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2023-04-25 11:10 | asier_perez | New Issue | ||||||||||
2023-04-25 11:10 | asier_perez | Assigned To | => Retail | |||||||||
2023-04-25 11:10 | asier_perez | File Added: incorrect-price.png | ||||||||||
2023-04-25 11:10 | asier_perez | Triggers an Emergency Pack | => No | |||||||||
2023-04-25 12:18 | asier_perez | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=25935#r25935 | |||||||||
2023-04-25 12:53 | asier_perez | Summary | [23Q2] The price of a product is calculated incorrectly when editing its modifiers twice => [23Q2] The price of a product with modifiers is calculated incorrectly when editing its modifiers | |||||||||
2023-04-25 12:53 | asier_perez | Description Updated | bug_revision_view_page.php?rev_id=25939#r25939 | |||||||||
2023-04-25 12:53 | asier_perez | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=25940#r25940 | |||||||||
2023-07-26 13:08 | andre_montenegro | Relationship added | depends on 0053064 | |||||||||
2023-08-21 09:31 | Rajesh_18 | Assigned To | Retail => Rajesh_18 | |||||||||
2023-08-21 09:31 | Rajesh_18 | Status | new => scheduled | |||||||||
2023-08-23 07:00 | hgbot | Note Added: 0153815 |
Notes | |||||
|
|||||
|
|