Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052234Retail ModulesCash Managementpublic2023-04-26 01:042023-04-28 06:35
hcurbelo 
Retail 
normalmajoralways
closedfixed 
5
 
RR23Q3 
marvintm
No
No
0052234: ClosingStore wrong value in "lastOpenClosedDate"
We found an issue in the closingstore webhook. The date sent in "lastOpenClosedDate" is not good. No closing store on april 6th evening and at the openning on april 7th, the POS ask to close the store because the business date is not today. The vendor cashup the POS and close the store then The "lastOpenClosedDate" = "2023-04-07".
1. No closing store on current evening

2. Openning on next day, the POS ask to close the store because the business date is not today and continue doing the cashup the POS and close the store.

3. In BackOffice in Channel TouchPoint select the terminal and look in CashUp History tab the Last Cashup Report Date have current date.
No tags attached.
has duplicate defect 0052119 closed Retail POS2 Wrong opening date on the cashup if not done on the same day 
Issue History
2023-04-26 01:04hcurbeloNew Issue
2023-04-26 01:04hcurbeloAssigned To => Retail
2023-04-26 01:04hcurbeloOBNetwork customer => No
2023-04-26 01:04hcurbeloTriggers an Emergency Pack => No
2023-04-26 07:16marvintmRelationship addedhas duplicate 0052119
2023-04-27 06:37hgbotResolutionopen => fixed
2023-04-27 06:37hgbotStatusnew => resolved
2023-04-27 06:37hgbotNote Added: 0148979
2023-04-27 06:40marvintmReview Assigned To => marvintm
2023-04-27 06:40marvintmStatusresolved => closed
2023-04-27 06:40marvintmFixed in Version => RR23Q3
2023-04-28 06:35hgbotNote Added: 0149051

Notes
(0148979)
hgbot   
2023-04-27 06:37   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 275ba6bbc4532ee8f3480a266e42715c6a307c89
Author: Hector Curbelo Barrios <hector.curbelo@smfconsulting.es>
Date: 27-04-2023 04:37:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/275ba6bbc4532ee8f3480a266e42715c6a307c89 [^]

Fixed ISSUE-52234: lastOpenClosedDate property will now receive the correct value, even if the store was closed the next day

---
M src/org/openbravo/retail/sessions/CloseStoreActionHandler.java
M src/org/openbravo/retail/sessions/CloseStoreProcess.java
M src/org/openbravo/retail/sessions/CloseStoreUtils.java
M src/org/openbravo/retail/sessions/WebPOSCloseStore.java
M web-jspack/org.openbravo.retail.sessions/src/model/till/actions/CloseTillInServer.js
---
(0149051)
hgbot   
2023-04-28 06:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: ea1b1d6f8a0765a892a2e95e702cd2a8077d0f31
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 28-04-2023 06:35:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/ea1b1d6f8a0765a892a2e95e702cd2a8077d0f31 [^]

Related to ISSUE-52234: add defensive code to ensure jest tests don't fail

---
M web-jspack/org.openbravo.retail.sessions/src/model/till/actions/CloseTillInServer.js
---