Openbravo Issue Tracking System - POS2
View Issue Details
0056505POS2POSpublic2024-07-01 14:482024-10-18 09:20
NaroaIriarte 
SABARINATH P 
normalmajoralways
scheduledopen 
5
 
24Q3.2 
guilleaer
No
0056505: 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 => 24Q3.2
2024-09-26 15:22guilleaerStatusscheduled => acknowledged
2024-09-27 07:20SABARINATH PAssigned ToRetail => SABARINATH P
2024-09-27 07:20SABARINATH PStatusacknowledged => scheduled
2024-09-27 13:58hgbotNote Added: 0169708
2024-10-03 08:19hgbotNote Added: 0169913
2024-10-15 20:05hgbotResolutionopen => fixed
2024-10-15 20:05hgbotStatusscheduled => closed
2024-10-15 20:05hgbotNote Added: 0170459
2024-10-15 20:05hgbotNote Added: 0170460
2024-10-15 20:06hgbotNote Added: 0170461
2024-10-18 09:14hgbotNote Added: 0170559
2024-10-18 09:15hgbotNote Added: 0170560
2024-10-18 09:20SABARINATH PStatusclosed => new
2024-10-18 09:20SABARINATH PResolutionfixed => open
2024-10-18 09:20SABARINATH PStatusnew => scheduled

Notes
(0169708)
hgbot   
2024-09-27 13:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/147 [^]
(0169913)
hgbot   
2024-10-03 08:19   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2959 [^]
(0170459)
hgbot   
2024-10-15 20:05   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: a74b15f596b4138bd59786da5248992b278c12e4
Author: Sabarinath <s.palanisamy@external.orisha.com>
Date: 27-09-2024 17:24:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/a74b15f596b4138bd59786da5248992b278c12e4 [^]

Fixed ISSUE-56505: 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
---
(0170460)
hgbot   
2024-10-15 20:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/147 [^]
(0170461)
hgbot   
2024-10-15 20:06   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2959 [^]
(0170559)
hgbot   
2024-10-18 09:14   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/167 [^]
(0170560)
hgbot   
2024-10-18 09:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/153 [^]