Openbravo Issue Tracking System - POS2
View Issue Details
0057107POS2POSpublic2024-11-12 17:402024-11-18 14:50
AugustoMauch 
Rajesh_18 
normalmajorhave not tried
closedfixed 
5
 
24Q424Q4 
marvintm
No
0057107: Till is not being properly open when using safeboxes that control all payment methods
The till is not properly being open when a user logs in after a cash up if:
- The till is configured to use safeboxes
- All the countable payment methods are assigned to the safebox

In that case, when the user logs in after a cashup, no entry is created in Terminal and Till Status -> Till Status. As a consequence, during that time it is not possible to check in the backend (or by checking the db) that the till is open.

After that, when the till is closed, an entry is created in Terminal and Till Status -> Till Status but apparently with the Opened and Closed fields switched.
- Configure a terminal to use safeboxes
- Configure the payment methods so that all the countable payment methods are included in the safebox
- Login in the terminal. Notice that the user will be prompted to select a safebox.
- Continue until reaching the main window. Notice that no entry was created in the Terminal and Till Status -> Till Status tab.
We only execute openTillInServer when Initial Count step is shown and we create the session in backoffice in that case.
If we do not have Cash payment methods or they are linked to a Safe Box, the Initial Count step is not shown and session is not create in backoffice.

Instead of adding openTillInServer like this(because Till.openTill StateActions is not launched):
  OB.App.StateAPI.Till.openTill.addActionPreparation(openTillInServer);

We should find another action that is always executed to add openTillInServer actionPreparation
No tags attached.
blocks defect 0057074 closed Rajesh_18 Till is not being properly open when using safeboxes that control all payment methods 
Issue History
2024-11-15 09:47Rajesh_18Typedefect => backport
2024-11-15 09:47Rajesh_18Target Version => 24Q4
2024-11-15 12:34hgbotNote Added: 0172031
2024-11-16 09:29hgbotResolutionopen => fixed
2024-11-16 09:29hgbotStatusscheduled => resolved
2024-11-16 09:29hgbotNote Added: 0172101
2024-11-16 09:29hgbotNote Added: 0172102
2024-11-16 09:29marvintmReview Assigned To => marvintm
2024-11-16 09:29marvintmStatusresolved => closed
2024-11-16 09:29marvintmFixed in Version => 24Q4
2024-11-18 12:22hgbotNote Added: 0172156
2024-11-18 14:50hgbotNote Added: 0172167
2024-11-18 14:50hgbotNote Added: 0172168

Notes
(0172031)
hgbot   
2024-11-15 12:34   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/174 [^]
(0172101)
hgbot   
2024-11-16 09:29   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 27b100f656421f9c913799c6c3230e6b49096fb8
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 15-11-2024 17:03:15
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/27b100f656421f9c913799c6c3230e6b49096fb8 [^]

Fixed ISSUE-57107: Pos Terminal opened when safe box selection is skipped

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172102)
hgbot   
2024-11-16 09:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/174 [^]
(0172156)
hgbot   
2024-11-18 12:22   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/182 [^]
(0172167)
hgbot   
2024-11-18 14:50   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: d9ee4831e5aab2fca146484d798b8cca9b90bc27
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 18-11-2024 16:51:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/d9ee4831e5aab2fca146484d798b8cca9b90bc27 [^]

Related to ISSUE-57107: POS Terminal is opened on unique safebox initial counting

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172168)
hgbot   
2024-11-18 14:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/182 [^]