Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056862Retail ModulesSessionspublic2024-10-22 17:142024-10-24 08:14
martinsdan 
Rajesh_18 
highmajoralways
closedfixed 
30Ubuntu 18.04.1 LTS
 
 
No
0056862: Force open store not working if all touchpoints are closed
If “force store opening Event id it was Not Closed” = true and there are no open till sessions the close / open store does not happen

This happens if we have this configuration un the BO
close store automatically after last cashup = Never

The store will never be closed by cashup of the last till.

It has to be closed / opened the next day in the first opentill
Configure:
force store opening Event id it was Not Closed = true
close store automatically after last cashup = Never

Open the store with one till
Do some sales
Do the cashup

Verify the store is not closed but there are no open sessions

Open the till the next day

The store is not closed and opened
Force the open store based on date, not in open sessions.

We need to change this query to obtain current business date of the store instead of checking tills:

https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/blob/0db563e2e89afd891ba07878f26f1be895e8b348/src/org/openbravo/retail/sessions/login/StoreStatusProvider.java#L80 [^]
No tags attached.
related to defect 0055880 closed Retail POS2 When a till is closed from the backend, the cashup process should be executed afterwards. 
depends on backport 0056869RR24Q4 closed migueldejuana Retail Modules Force open store not working if all touchpoints are closed 
depends on backport 0056870RR24Q3.3 closed migueldejuana Retail Modules Force open store not working if all touchpoints are closed 
depends on backport 0056871RR24Q2.5 closed migueldejuana Retail Modules Force open store not working if all touchpoints are closed 
Issue History
2024-10-22 17:14martinsdanNew Issue
2024-10-22 17:14martinsdanAssigned To => Retail
2024-10-22 17:14martinsdanTriggers an Emergency Pack => No
2024-10-23 08:33migueldejuanaAssigned ToRetail => migueldejuana
2024-10-23 11:34migueldejuanaProposed Solution updated
2024-10-23 11:36migueldejuanaStatusnew => scheduled
2024-10-23 11:36migueldejuanaAssigned Tomigueldejuana => Rajesh_18
2024-10-23 11:43migueldejuanaRelationship addedrelated to 0055880
2024-10-23 13:58hgbotNote Added: 0170827
2024-10-24 08:14hgbotNote Added: 0170863
2024-10-24 08:14hgbotResolutionopen => fixed
2024-10-24 08:14hgbotStatusscheduled => closed
2024-10-24 08:14hgbotNote Added: 0170864

Notes
(0170827)
hgbot   
2024-10-23 13:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/160 [^]
(0170863)
hgbot   
2024-10-24 08:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/160 [^]
(0170864)
hgbot   
2024-10-24 08:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: f865a732a1e59afa9dff1a31642066c3b8b916cf
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 24-10-2024 08:07:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/f865a732a1e59afa9dff1a31642066c3b8b916cf [^]

Fixed ISSUE-56862: Store is closed and opened if it is opened with different business date

---
M src/org/openbravo/retail/sessions/login/StoreStatusProvider.java
---