Openbravo Issue Tracking System - POS2
View Issue Details
0057108POS2POSpublic2024-11-12 17:402024-11-19 13:52
AugustoMauch 
Rajesh_18 
normalmajorhave not tried
closedfixed 
5
 
24Q3.3 
No
0057108: 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 => 24Q3.3
2024-11-15 12:38hgbotNote Added: 0172034
2024-11-16 09:29hgbotResolutionopen => fixed
2024-11-16 09:29hgbotStatusscheduled => closed
2024-11-16 09:29hgbotNote Added: 0172103
2024-11-16 09:29hgbotNote Added: 0172104
2024-11-18 12:26hgbotNote Added: 0172157
2024-11-18 14:50hgbotNote Added: 0172169
2024-11-18 14:50hgbotNote Added: 0172170
2024-11-19 13:38hgbotNote Added: 0172227
2024-11-19 13:52marvintmNote Added: 0172231

Notes
(0172034)
hgbot   
2024-11-15 12:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/175 [^]
(0172103)
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: daab76d1e7230d0bbf122239af37325a5a0663ed
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 15-11-2024 17:07:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/daab76d1e7230d0bbf122239af37325a5a0663ed [^]

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

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172104)
hgbot   
2024-11-16 09:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/175 [^]
(0172157)
hgbot   
2024-11-18 12:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/183 [^]
(0172169)
hgbot   
2024-11-18 14:50   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: c9840eff5a53ea68048859c257f84a45ff5b391e
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 18-11-2024 16:55:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/c9840eff5a53ea68048859c257f84a45ff5b391e [^]

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

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172170)
hgbot   
2024-11-18 14:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/183 [^]
(0172227)
hgbot   
2024-11-19 13:38   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 0426f63391abac9c3362aa8b289b2a384a735d05
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 19-11-2024 18:04:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/0426f63391abac9c3362aa8b289b2a384a735d05 [^]

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

This reverts commit c9840eff5a53ea68048859c257f84a45ff5b391e.

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172231)
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