Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056869Retail ModulesSessionspublic2024-10-22 17:142024-10-24 10:56
martinsdan 
migueldejuana 
highmajoralways
closedfixed 
30Ubuntu 18.04.1 LTS
 
RR24Q4 
No
0056869: 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.
blocks defect 0056862 closed Rajesh_18 Force open store not working if all touchpoints are closed 
Issue History
2024-10-23 11:36migueldejuanaTypedefect => backport
2024-10-23 11:36migueldejuanaTarget Version => RR24Q4
2024-10-24 08:26hgbotNote Added: 0170867
2024-10-24 10:56hgbotResolutionopen => fixed
2024-10-24 10:56hgbotStatusscheduled => closed
2024-10-24 10:56hgbotNote Added: 0170877
2024-10-24 10:56hgbotNote Added: 0170878

Notes
(0170867)
hgbot   
2024-10-24 08:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/164 [^]
(0170877)
hgbot   
2024-10-24 10:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 85d97c0ae2985df02ae970fbe0533e73edb9d6a6
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 24-10-2024 11:55:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/85d97c0ae2985df02ae970fbe0533e73edb9d6a6 [^]

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

---
M src/org/openbravo/retail/sessions/login/StoreStatusProvider.java
---
(0170878)
hgbot   
2024-10-24 10:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/164 [^]