Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056870Retail ModulesSessionspublic2024-10-22 17:142024-10-24 10:56
martinsdan 
migueldejuana 
highmajoralways
closedfixed 
30Ubuntu 18.04.1 LTS
 
RR24Q3.3 
No
0056870: 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 => RR24Q3.2
2024-10-23 14:38migueldejuanaTarget VersionRR24Q3.2 => RR24Q3.3
2024-10-24 08:22hgbotNote Added: 0170866
2024-10-24 10:56hgbotResolutionopen => fixed
2024-10-24 10:56hgbotStatusscheduled => closed
2024-10-24 10:56hgbotNote Added: 0170879
2024-10-24 10:56hgbotNote Added: 0170880

Notes
(0170866)
hgbot   
2024-10-24 08:22   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/163 [^]
(0170879)
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: 6d931d3f527b7d5311acce253be3a842a8522814
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 24-10-2024 11:51:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/6d931d3f527b7d5311acce253be3a842a8522814 [^]

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

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