Openbravo Issue Tracking System - POS2
View Issue Details
0054622POS2POSpublic2024-02-08 11:532024-02-15 08:53
Lcazaux 
alainperez 
hightrivialalways
closedfixed 
5
 
24Q2 
No
0054622: Drawer opens when clicking on X Report
In the POS, if I go to the X report, which is available to all role levels including cashier, it automatically opens the drawer → this is 100% wrong and unsafe.

The client put an approval for now on the X report, but it must be possible to display the X Report without the drawer opening, this is the normal behavior.

SEE VIDEO https://drive.google.com/file/d/1F708Si6v-S7xCMjFFjF7PC1Cr4V9ufwk/view?usp=drive_link [^]
- Log in the POS
- From the left bar of options, go to the till menu and click on "X report"
- The report is displayed
--> The drawer opens itself: this is wrong and very unsafe.
Drawer must NEVER opens itself when triggering the X report option in the POS

ggi note:

it was added intentionaly by this project: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5496c522d7cc00519d971f6060bd564c67e6ca08?page=2#7155a05ec262731ccb3c73e2a64a2e0cb5f0534e_0_56 [^]

maybe shoud just be removed the call to open drawer
No tags attached.
depends on backport 005467624Q1 closed alainperez Drawer opens when clicking on X Report 
related to defect 0054628 closed SABARINATH P Drawer re opens itself after finishing cash up 
Issue History
2024-02-08 11:53LcazauxNew Issue
2024-02-08 11:53LcazauxAssigned To => Retail
2024-02-08 11:53LcazauxTriggers an Emergency Pack => No
2024-02-08 12:29LcazauxDescription Updatedbug_revision_view_page.php?rev_id=27481#r27481
2024-02-08 18:46guilleaerAssigned ToRetail => gorka_gil
2024-02-09 09:46gorka_gilProposed Solution updated
2024-02-09 09:49gorka_gilRelationship addedrelated to 0054628
2024-02-09 10:19jorgewederagoAssigned Togorka_gil => Retail
2024-02-09 10:19jorgewederagoNote Added: 0160533
2024-02-13 09:13guillermogilAssigned ToRetail => alainperez
2024-02-13 15:11LcazauxNote Added: 0160700
2024-02-14 16:06jorgewederagoStatusnew => scheduled
2024-02-14 18:56hgbotNote Added: 0160758
2024-02-15 08:53hgbotNote Added: 0160775
2024-02-15 08:53hgbotResolutionopen => fixed
2024-02-15 08:53hgbotStatusscheduled => closed
2024-02-15 08:53hgbotFixed in Version => 24Q2
2024-02-15 08:53hgbotNote Added: 0160776

Notes
(0160533)
jorgewederago   
2024-02-09 10:19   
This was not happening in EnyoPOS so this should be fixed. as GGI said, it should be as easy as removing the if that triggers the openDrawer
(0160700)
Lcazaux   
2024-02-13 15:11   
Hello, the emergency of this mantis is that even if the client has a workaround (approval on the X report) the drawer opens itself BEFORE validation of the approval.

User clicks on X report
Drawer opens
Approval is being asked
Once validated, the report is validated.

THE OPENING OF THE DRAWER IS GOOD BEHAVIOR, but must happen AFTER the approval.
(0160758)
hgbot   
2024-02-14 18:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2428 [^]
(0160775)
hgbot   
2024-02-15 08:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2428 [^]
(0160776)
hgbot   
2024-02-15 08:53   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 9dd8fa0a5e22268405f3b22e5e1c9cf03b935e6e
Author: Alain Pérez Balart <alain.perez@openbravo.com>
Date: 15-02-2024 07:53:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/9dd8fa0a5e22268405f3b22e5e1c9cf03b935e6e [^]

Fixed ISSUE-54622: Drawer opens when clicking on X Report

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/cashup/PrintXReportWindowHooks.js
---