Openbravo Issue Tracking System - POS2
View Issue Details
0052232POS2Restaurantspublic2023-04-25 16:312023-04-28 18:43
asier_perez 
dcontrera 
normaltrivialalways
newopen 
5
 
 
No
0052232: [23Q2] Price Modification is enabled for products with "Editable Price" unchecked
The Price Modification button is clickable for products that have the "Editable Price" property unchecked. When clicking on the button, we can access to the popup with a keypad that allows us to enter a new price. Then if the OK button is clicked (with the price changed or not), an error popup appears, saying that the price of that product cannot be modified.

It seems that the verification of the "Editable Price" field is not done when clicking Price Modification, but only when clicking OK.
1) Log in POS2
2) Change to Restaurants schema
3) Add any product from the Food category (they all have "Editable Price" unchecked)
4) Click the line added to the ticket and select Price Modification
5) Click OK => Here the error message appears, but it should appear in the previous step, or the Price Modification button should be disabled
The Price Modification button is enabled if the line is editable, but it should be when the price is editable instead.
No tags attached.
png editable.png (131,488) 2023-04-25 16:31
https://issues.openbravo.com/file_download.php?file_id=18426&type=bug
png
Issue History
2023-04-25 16:31asier_perezNew Issue
2023-04-25 16:31asier_perezAssigned To => Retail
2023-04-25 16:31asier_perezFile Added: editable.png
2023-04-25 16:31asier_perezTriggers an Emergency Pack => No
2023-04-26 06:26guillermogilAssigned ToRetail => dcontrera
2023-04-28 18:43hgbotNote Added: 0149088

Notes
(0149088)
hgbot   
2023-04-28 18:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1743 [^]