Openbravo Issue Tracking System - POS2
View Issue Details
0056506POS2POSpublic2024-07-01 14:482024-10-21 11:28
NaroaIriarte 
SABARINATH P 
normalmajoralways
closedfixed 
5
 
24Q2.4 
guilleaer
No
0056506: When a till is closed from the backend, the cashup process should be executed afterwards.
If a till is closed using the close till from backend process, the cashup process should be executed the next time that terminal is used to avoid inconsistencies. This is not happening currently.
- As a prerequisite, the sessions module has to be installed.
- Log into the pos in the VBS-2 terminal and open the store with today's date.
- Go to the backend and go to the 'Terminals and Tills status' window. Find the 'VBS-2' terminal and select it. See that in the subtab 'Tills Status', the opened till appears as not closed.
- Push the 'Close Tills' process button, to close the tills corresponding to the terminal.
- See that now, the 'Till Status' subtab shows the till as closed and, more precisely, as 'Closed in Backend'.
- Go again to the POS, where the VBS-2 terminal is opened.
- Try to buy anything.
- See that you can continue working with it.
- This should not happen, the cashup should be executed before being able to continue working with it.
- If you go back to the backend to the 'Terminals and Tills status' and see the 'Tills Status subtab' you will see that the till is indeed closed but the 'Cash Up' field is empty.

.
No tags attached.
blocks defect 0055880 closed Retail When a till is closed from the backend, the cashup process should be executed afterwards. 
Issue History
2024-09-19 15:47migueldejuanaTypedefect => backport
2024-09-19 15:47migueldejuanaTarget Version => 24Q2.4
2024-10-18 07:14SABARINATH PAssigned ToRetail => SABARINATH P
2024-10-18 08:46hgbotNote Added: 0170555
2024-10-18 08:47hgbotNote Added: 0170556
2024-10-18 08:48hgbotNote Added: 0170557
2024-10-18 12:24hgbotNote Added: 0170566
2024-10-21 11:27hgbotNote Added: 0170687
2024-10-21 11:27hgbotNote Added: 0170689
2024-10-21 11:28hgbotNote Added: 0170690
2024-10-21 11:28hgbotNote Added: 0170691
2024-10-21 11:28hgbotResolutionopen => fixed
2024-10-21 11:28hgbotStatusscheduled => closed
2024-10-21 11:28hgbotNote Added: 0170692

Notes
(0170555)
hgbot   
2024-10-18 08:46   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/166 [^]
(0170556)
hgbot   
2024-10-18 08:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/152 [^]
(0170557)
hgbot   
2024-10-18 08:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3009 [^]
(0170566)
hgbot   
2024-10-18 12:24   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/117 [^]
(0170687)
hgbot   
2024-10-21 11:27   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/166 [^]
(0170689)
hgbot   
2024-10-21 11:27   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/117 [^]
(0170690)
hgbot   
2024-10-21 11:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3009 [^]
(0170691)
hgbot   
2024-10-21 11:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/152 [^]
(0170692)
hgbot   
2024-10-21 11:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 7a096167cf63553373ceae39f5838edef911238d
Author: Sabarinath <s.palanisamy@external.orisha.com>
Date: 18-10-2024 12:07:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/7a096167cf63553373ceae39f5838edef911238d [^]

Fixed ISSUE-56506: Cashup must be forced if tills and store are closed from backend.

---
M src-db/database/model/modifiedTables/AD_ORG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/sessions/login/StoreStatusProvider.java
M web-jspack/org.openbravo.retail.sessions/src/model/till/actions/CloseTillInServer.js
M web-jspack/org.openbravo.retail.sessions/src/model/till/actions/OpenTillInServer.js
M web-jspack/org.openbravo.retail.sessions/src/model/till/actions/SetBusinessDateInServer.js
M web-jspack/org.openbravo.retail.sessions/src/model/till/user-actions/ValidateClosedTillsNotClosedStore.js
M web-jspack/org.openbravo.retail.sessions/src/model/till/user-actions/__test__/validateClosedTillsNotClosedStore.test.jsx
---