Openbravo Issue Tracking System - POS2
View Issue Details
0057074POS2POSpublic2024-11-12 17:402024-11-18 14:49
AugustoMauch 
Rajesh_18 
normalmajorhave not tried
closedfixed 
5
 
25Q1 
marvintm
No
0057074: 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.
depends on backport 005710724Q4 closed Rajesh_18 Till is not being properly open when using safeboxes that control all payment methods 
depends on backport 005710824Q3.3 closed Rajesh_18 Till is not being properly open when using safeboxes that control all payment methods 
depends on backport 005710924Q2.5 closed Rajesh_18 Till is not being properly open when using safeboxes that control all payment methods 
Issue History
2024-11-12 17:40AugustoMauchNew Issue
2024-11-12 17:40AugustoMauchAssigned To => Retail
2024-11-12 17:40AugustoMauchTriggers an Emergency Pack => No
2024-11-14 15:04migueldejuanaProposed Solution updated
2024-11-14 15:05migueldejuanaStatusnew => scheduled
2024-11-14 15:05migueldejuanaAssigned ToRetail => Rajesh_18
2024-11-14 18:35hgbotNote Added: 0172008
2024-11-15 09:47Rajesh_18Statusscheduled => acknowledged
2024-11-15 09:47Rajesh_18Statusacknowledged => scheduled
2024-11-16 09:28hgbotResolutionopen => fixed
2024-11-16 09:28hgbotStatusscheduled => closed
2024-11-16 09:28hgbotNote Added: 0172099
2024-11-16 09:28hgbotNote Added: 0172100
2024-11-18 11:37marvintmNote Added: 0172153
2024-11-18 11:37marvintmStatusclosed => new
2024-11-18 11:37marvintmResolutionfixed => open
2024-11-18 12:01hgbotNote Added: 0172155
2024-11-18 12:02Rajesh_18Statusnew => scheduled
2024-11-18 14:49hgbotNote Added: 0172165
2024-11-18 14:49hgbotNote Added: 0172166
2024-11-18 14:49marvintmStatusscheduled => resolved
2024-11-18 14:49marvintmFixed in Version => 25Q1
2024-11-18 14:49marvintmResolutionopen => fixed
2024-11-18 14:49marvintmReview Assigned To => marvintm
2024-11-18 14:49marvintmStatusresolved => closed

Notes
(0172008)
hgbot   
2024-11-14 18:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/173 [^]
(0172099)
hgbot   
2024-11-16 09:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/173 [^]
(0172100)
hgbot   
2024-11-16 09:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: dddbffa90e1c40e7606f3ca2e5edead72750cc44
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 16-11-2024 08:28:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/dddbffa90e1c40e7606f3ca2e5edead72750cc44 [^]

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

---
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0172153)
marvintm   
2024-11-18 11:37   
There is a configuration option where this is not yet working properly. If the touchpoint type is marked as "Unique safe box initial counting", the till is still not created
(0172155)
hgbot   
2024-11-18 12:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/181 [^]
(0172165)
hgbot   
2024-11-18 14:49   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: a1368c8b0d8feed92fd951b6b387cf91ba1da22c
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 18-11-2024 16:31:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/a1368c8b0d8feed92fd951b6b387cf91ba1da22c [^]

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

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