Openbravo Issue Tracking System - POS2
View Issue Details
0057109POS2POSpublic2024-11-12 17:402024-11-19 13:52
AugustoMauch 
Rajesh_18 
normalmajorhave not tried
closedfixed 
5
 
24Q2.5 
No
0057109: 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 => 24Q2.5
2024-11-15 12:41hgbotNote Added: 0172035
2024-11-16 09:29hgbotResolutionopen => fixed
2024-11-16 09:29hgbotStatusscheduled => closed
2024-11-16 09:29hgbotNote Added: 0172105
2024-11-16 09:29hgbotNote Added: 0172106
2024-11-18 12:29hgbotNote Added: 0172158
2024-11-18 14:50hgbotNote Added: 0172171
2024-11-18 14:50hgbotNote Added: 0172172
2024-11-19 13:44hgbotNote Added: 0172228
2024-11-19 13:52marvintmNote Added: 0172232

Notes
(0172035)
hgbot   
2024-11-15 12:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/176 [^]
(0172105)
hgbot   
2024-11-16 09:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 67b3739545f0e37d67578e8e909ea7b0a1649e35
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 15-11-2024 17:10:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/67b3739545f0e37d67578e8e909ea7b0a1649e35 [^]

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

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172106)
hgbot   
2024-11-16 09:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/176 [^]
(0172158)
hgbot   
2024-11-18 12:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/184 [^]
(0172171)
hgbot   
2024-11-18 14:50   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: ee4452962d934ac507f0e2916eab59622e8f7084
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 18-11-2024 16:58:27
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/ee4452962d934ac507f0e2916eab59622e8f7084 [^]

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

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172172)
hgbot   
2024-11-18 14:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/184 [^]
(0172228)
hgbot   
2024-11-19 13:44   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 5b6c7f6d702a9585abf5904fc06591b3bdeb5b85
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 19-11-2024 18:10:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/5b6c7f6d702a9585abf5904fc06591b3bdeb5b85 [^]

Revert "Related to ISSUE-57109: POS Terminal is opened on unique safebox initial counting"

This reverts commit ee4452962d934ac507f0e2916eab59622e8f7084.

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172232)
marvintm   
2024-11-19 13:52   
Finally this backport will not be done as the functionality it references to doesn't exist in this release