Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056871Retail ModulesSessionspublic2024-10-22 17:142024-10-24 10:56
martinsdan 
migueldejuana 
highmajoralways
closedfixed 
30Ubuntu 18.04.1 LTS
 
RR24Q2.5 
No
0056871: 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 => RR24Q2.4
2024-10-23 14:38migueldejuanaTarget VersionRR24Q2.4 => RR24Q2.5
2024-10-24 08:19hgbotNote Added: 0170865
2024-10-24 10:56hgbotResolutionopen => fixed
2024-10-24 10:56hgbotStatusscheduled => closed
2024-10-24 10:56hgbotNote Added: 0170881
2024-10-24 10:56hgbotNote Added: 0170882

Notes
(0170865)
hgbot   
2024-10-24 08:19   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/162 [^]
(0170881)
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: 0058725ee27f51072451cba3d3a772956ccf108c
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 24-10-2024 11:47:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/0058725ee27f51072451cba3d3a772956ccf108c [^]

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

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