Openbravo Issue Tracking System - POS2
View Issue Details
0054601POS2POSpublic2024-02-06 21:222024-02-13 14:17
ivazquez 
SABARINATH P 
highmajoralways
closedfixed 
5
 
 
No
0054601: When opening a store, the click is not synchronized with the correct date when you set the business date
When trying to open a store in the latest version of POS2, when you are prompted to set the Business Date, the click is not synchronized with the date, for example, if I click on day 7, it is set on day 6, or if I click on day 1, it is set on day 31 of the previous month.

Attached is a video demonstration

Reproduced in livebuilds:

https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/pos/?terminal=VBS-2 [^]
Try to open a till and set the Business Date
No tags attached.
depends on backport 005465624Q1 closed SABARINATH P When opening a store, the click is not synchronized with the correct date when you set the business date 
? pos2BusinessDateIssue.mp4 (296,228) 2024-02-06 21:22
https://issues.openbravo.com/file_download.php?file_id=19442&type=bug
Issue History
2024-02-06 21:22ivazquezNew Issue
2024-02-06 21:22ivazquezAssigned To => Retail
2024-02-06 21:22ivazquezFile Added: pos2BusinessDateIssue.mp4
2024-02-06 21:22ivazquezTriggers an Emergency Pack => No
2024-02-07 05:59SABARINATH PAssigned ToRetail => SABARINATH P
2024-02-07 14:21SABARINATH PStatusnew => scheduled
2024-02-07 14:25SABARINATH PNote Added: 0160344
2024-02-07 14:25SABARINATH PStatusscheduled => feedback
2024-02-07 19:20ivazquezNote Added: 0160363
2024-02-07 19:20ivazquezStatusfeedback => new
2024-02-08 18:33guilleaerNote Added: 0160508
2024-02-09 11:23egoitzNote Added: 0160543
2024-02-13 08:27LeyreTypedefect => feature request
2024-02-13 08:41LeyreTypefeature request => defect
2024-02-13 11:32hgbotNote Added: 0160681
2024-02-13 13:01guilleaerStatusnew => scheduled
2024-02-13 14:17hgbotResolutionopen => fixed
2024-02-13 14:17hgbotStatusscheduled => closed
2024-02-13 14:17hgbotNote Added: 0160693
2024-02-13 14:17hgbotNote Added: 0160694
2024-02-13 14:17hgbotNote Added: 0160695

Notes
(0160344)
SABARINATH P   
2024-02-07 14:25   
I have tried to reproduce it in 24Q1 and PI with my time zone and also in different timezone Ex:GMT-3 in my local and browser, tried in both 24Q1 and PI instance. Still I didn't able to reproduce it. I have faced this issue long days before but it was solved later. I can't able to identify exact commit that solved this issue.
(0160363)
ivazquez   
2024-02-07 19:20   
Dear Sabarinath,

Could you try to reproduce the error in the same livebuilds that I reproduced it? The video is from yesterday, so, strangely, the error is not reproduced.

Regards,
Ignacio Vazquez
(0160508)
guilleaer   
2024-02-08 18:33   
this commit is related:
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/b9cc21cf384473593b23aa08b33ce68416f7c402 [^]
(0160543)
egoitz   
2024-02-09 11:23   
The code is already in the customer and the problem happens.
Also the recording Ignacio put is from livebuilds.
(0160681)
hgbot   
2024-02-13 11:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/107 [^]
(0160693)
hgbot   
2024-02-13 14:17   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 160721cf2e319dd2b67996aa698fd77e5508ac5d
Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com>
Date: 13-02-2024 13:17:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/160721cf2e319dd2b67996aa698fd77e5508ac5d [^]

Fixed ISSUE-54601: Bussiness Date is set excluding timezone

---
M web-jspack/org.openbravo.retail.sessions/src/components/Cashup/CashupSteps/SetBusinessDateStep/SetBusinessDateStep.jsx
---
(0160694)
hgbot   
2024-02-13 14:17   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/107 [^]
(0160695)
hgbot   
2024-02-13 14:17   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: b2f64c53497aa123e778d0c0f3b4100d01d263f7
Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com>
Date: 13-02-2024 13:17:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/b2f64c53497aa123e778d0c0f3b4100d01d263f7 [^]

Fixed ISSUE-54601: Bussiness Date is set excluding timezone

---
M web-jspack/org.openbravo.retail.sessions/src/components/Cashup/CashupSteps/SetBusinessDateStep/SetBusinessDateStep.jsx
---