Openbravo Issue Tracking System - POS2
View Issue Details
0050799POS2Restaurantspublic2022-11-09 11:072024-01-18 08:16
plujan 
SABARINATH P 
normalminorhave not tried
closedfixed 
5
 
 
approved
No
No
0050799: [22Q4] [Restaurants] Inconsistent behaviour of the "Abort" button for menus
The "Abort" button for the menu configurator may or may not show a confirmation dialog, depending on the moment you click it
Scenario A: Showing a confirmation dialog
1. Add a simple menu to a blank ticket
2. Select Onion Soup
3. Select Cheesburger. The "Cooking Start Time" menu is shown.
4. Click the "Abort" button in the top right corner. Notice the confirmation dialog shown.

Scenario B: Not showing any dialog
1. Add a simple menu to a blank ticket
2. Before selecting any starter, click the "Abort" button in the top right corner. Notice no confirmation dialog is shown.
Given that the Abort may undo a long crafted menu order, a confirmation dialog should always be shown
No tags attached.
jpg ScenarioA.jpg (59,590) 2022-11-09 11:07
https://issues.openbravo.com/file_download.php?file_id=17780&type=bug
jpg

jpg ScenarioB.jpg (49,531) 2022-11-09 11:07
https://issues.openbravo.com/file_download.php?file_id=17781&type=bug
jpg
Issue History
2022-11-09 11:07plujanNew Issue
2022-11-09 11:07plujanAssigned To => Retail
2022-11-09 11:07plujanFile Added: ScenarioA.jpg
2022-11-09 11:07plujanOBNetwork customer => No
2022-11-09 11:07plujanTriggers an Emergency Pack => No
2022-11-09 11:07plujanFile Added: ScenarioB.jpg
2023-10-31 07:39SABARINATH PAssigned ToRetail => SABARINATH P
2023-10-31 07:58SABARINATH PStatusnew => scheduled
2023-11-08 06:18hgbotMerge Request Status => open
2023-11-08 06:18hgbotNote Added: 0156883
2024-01-18 08:16hgbotMerge Request Statusopen => approved
2024-01-18 08:16hgbotResolutionopen => fixed
2024-01-18 08:16hgbotStatusscheduled => closed
2024-01-18 08:16hgbotNote Added: 0159441
2024-01-18 08:16hgbotNote Added: 0159442

Notes
(0156883)
hgbot   
2023-11-08 06:18   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/262 [^]
(0159441)
hgbot   
2024-01-18 08:16   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: 9ca691162b2b4c3f8138f387d89a7fdd56793f17
Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com>
Date: 18-01-2024 07:16:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/9ca691162b2b4c3f8138f387d89a7fdd56793f17 [^]

Fixes ISSUE-50799: Confirmation popup is shown while aborting menu in the ticket
* While aborting the menu in restaurant, the confirmation popup will be show.
* Because this may delete the whole menu if the user mistakenly clicks the abort menu once.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2.restaurant/src/model/user-interface/user-actions/CancelMenu.js
---
(0159442)
hgbot   
2024-01-18 08:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/262 [^]