Openbravo Issue Tracking System - POS2
View Issue Details
0054628POS2POSpublic2024-02-08 18:152024-02-23 13:13
Lcazaux 
SABARINATH P 
hightrivialalways
closedfixed 
5
 
24Q1.1 
No
0054628: Drawer re opens itself after finishing cash up
When doing a cash up, if I close my drawer before clicking “finish”, once I do click this button, the POS is closed, but the drawer re-opens itself.

This is wrong and could lead to issues with end-users.

Important remark: It only happens when counted cash is > 0€. If it is let to 0€ → it doesn't happen.

https://drive.google.com/file/d/1gx9Y1e8JdDR7nxSxtwCzy_7XPlWlvnBA/view?usp=drive_link [^]
Go to the POS
Do some sales, including with cash Payment Method (PM)
Go to cash up windows
Put “match expected” for all the PM including cash
Go to the next step
Close the drawer
Click on "finish" to finalize the cash up
You are logged out of the POS but the drawer re opened itself
Once closed during a cash up, the drawer should NEVER re-open itself.

ggi note:
This is related to the old implementation of open drawer in pos2 begginings.

The fix shold be just remove this post hook:
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b9955ab33916fce3234bb57629f9a5240af131eb#a8b5fe5f086f3e0cfd4e221128c3a714a223f8e4_82_84 [^]
No tags attached.
related to defect 0054622 closed alainperez Drawer opens when clicking on X Report 
depends on backport 005475524Q1.1 closed SABARINATH P Drawer re opens itself after finishing cash up 
Issue History
2024-02-08 18:15LcazauxNew Issue
2024-02-08 18:15LcazauxAssigned To => Retail
2024-02-08 18:15LcazauxTriggers an Emergency Pack => No
2024-02-08 18:16LcazauxDescription Updatedbug_revision_view_page.php?rev_id=27488#r27488
2024-02-08 18:22gorka_gilProposed Solution updated
2024-02-09 07:20SABARINATH PAssigned ToRetail => SABARINATH P
2024-02-09 09:49gorka_gilRelationship addedrelated to 0054622
2024-02-13 14:04SABARINATH PStatusnew => scheduled
2024-02-13 14:32hgbotNote Added: 0160698
2024-02-15 09:09hgbotNote Added: 0160777
2024-02-15 09:09hgbotResolutionopen => fixed
2024-02-15 09:09hgbotStatusscheduled => closed
2024-02-15 09:09hgbotFixed in Version => 24Q2
2024-02-15 09:09hgbotNote Added: 0160778
2024-02-23 12:57marvintmStatusclosed => new
2024-02-23 12:57marvintmResolutionfixed => open
2024-02-23 12:57marvintmFixed in Version24Q2 =>
2024-02-23 12:57marvintmStatusnew => scheduled
2024-02-23 12:57marvintmStatusscheduled => resolved
2024-02-23 12:57marvintmFixed in Version => 24Q2
2024-02-23 12:57marvintmResolutionopen => fixed
2024-02-23 12:57marvintmStatusresolved => closed
2024-02-23 13:13hgbotFixed in Version24Q2 => 24Q1.1
2024-02-23 13:13hgbotNote Added: 0161200

Notes
(0160698)
hgbot   
2024-02-13 14:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2424 [^]
(0160777)
hgbot   
2024-02-15 09:09   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2424 [^]
(0160778)
hgbot   
2024-02-15 09:09   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 9faae6e0d3384ae99233f099ba7b100d4a080d35
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 15-02-2024 08:08:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/9faae6e0d3384ae99233f099ba7b100d4a080d35 [^]

Fixed ISSUE-54628: Removed unwanted hook that opens drawer while closing till

---
M web-jspack/org.openbravo.pos2/src/model/cashup/CashupExtension.js
---
(0161200)
hgbot   
2024-02-23 13:13   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 12bcf5926d82fc6ac7f0ee3bf90451f6bc116d97
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 23-02-2024 17:34:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/12bcf5926d82fc6ac7f0ee3bf90451f6bc116d97 [^]

Fixed ISSUE-54628: Removed unwanted hook that opens drawer while closing till.

---
M web-jspack/org.openbravo.pos2/src/model/cashup/CashupExtension.js
---