Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052219
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantsminoralways2023-04-25 11:102023-08-23 07:00
Reporterasier_perezView Statuspublic 
Assigned ToRajesh_18 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052219: [23Q2] The price of a product with modifiers is calculated incorrectly when editing its modifiers

DescriptionSome 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 Reproduce1) 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'.
TagsNo tags attached.
Attached Filespng file icon incorrect-price.png [^] (18,132 bytes) 2023-04-25 11:10

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0053064 closedRajesh_18 [23Q3] Product Modifier button is not displayed in line editor 

-  Notes
(0153815)
hgbot (developer)
2023-08-23 07:00

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2028 [^]

- 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 View Revisions
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 View Revisions
2023-04-25 12:53 asier_perez Steps to Reproduce Updated View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker