Openbravo Issue Tracking System - POS2
View Issue Details
0054755POS2POSpublic2024-02-08 18:152024-02-23 13:13
Lcazaux 
SABARINATH P 
hightrivialalways
closedfixed 
5
 
24Q1.124Q1.1 
marvintm
No
0054755: 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.
blocks defect 0054628 closed SABARINATH P Drawer re opens itself after finishing cash up 
Issue History
2024-02-23 12:57marvintmTypedefect => backport
2024-02-23 12:57marvintmTarget Version => 24Q1.1
2024-02-23 13:07hgbotNote Added: 0161198
2024-02-23 13:13hgbotNote Added: 0161199
2024-02-23 13:13marvintmNote Added: 0161201
2024-02-23 13:13marvintmStatusscheduled => resolved
2024-02-23 13:13marvintmFixed in Version => 24Q1.1
2024-02-23 13:13marvintmResolutionopen => fixed
2024-02-23 13:13marvintmReview Assigned To => marvintm
2024-02-23 13:13marvintmStatusresolved => closed

Notes
(0161198)
hgbot   
2024-02-23 13:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2450 [^]
(0161199)
hgbot   
2024-02-23 13:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2450 [^]
(0161201)
marvintm   
2024-02-23 13:13   
Fixed by: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2450 [^]