Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040318Retail ModulesSessionspublic2019-03-05 14:432019-03-21 13:31
anderaranguren 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
pi 
RR19Q2 
jorge-garcia
No
0040318: pOSSBusinessDate is changing the Date to the day before when the client is in another time zone than the server
pOSSBusinessDate is changing the Date to the day before when the client is in another time zone than the server
1. Close the store from the backend (Time zone in the server is GMT+1)
2. Open the store from the backend with the current date(05-03-2019)
3. Go to the Web POS and complete some orders
4. Change the time zone of the client to GMT -6 (Toronto, Canada)
5. Complete another order
6. Go to the backend to Data Import Entries window and see that the pOSSBusinessDate of the JSON is correct (05-03-2019)
BUT the business date from Sales Order window is the day before (04-03-2019)
No tags attached.
related to defect 0039565 closed javierRodriguez pOSSBusinessDate is changing the Date to the day before when the client is in another time zone than the server 
related to defect 0042169 closed rqueralta Problems with business date when there is a change in timezone 
patch issue 40318 source sessions.patch (1,090) 2019-03-07 14:37
https://issues.openbravo.com/file_download.php?file_id=12717&type=bug
Issue History
2019-03-05 14:43anderarangurenNew Issue
2019-03-05 14:43anderarangurenAssigned To => Retail
2019-03-05 14:43anderarangurenResolution time => 1553554800
2019-03-05 14:43anderarangurenTriggers an Emergency Pack => No
2019-03-05 14:44anderarangurenRelationship addedrelated to 0039565
2019-03-05 15:23rafarodaIssue Monitored: rafaroda
2019-03-06 13:17ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-03-06 13:17ranjith_qualiantech_comStatusnew => scheduled
2019-03-07 14:37ranjith_qualiantech_comFile Added: issue 40318 source sessions.patch
2019-03-11 11:10hgbotCheckin
2019-03-11 11:10hgbotNote Added: 0110340
2019-03-12 06:23ranjith_qualiantech_comStatusscheduled => resolved
2019-03-12 06:23ranjith_qualiantech_comResolutionopen => fixed
2019-03-21 13:31jorge-garciaReview Assigned To => jorge-garcia
2019-03-21 13:31jorge-garciaNote Added: 0110545
2019-03-21 13:31jorge-garciaStatusresolved => closed
2019-03-21 13:31jorge-garciaFixed in Version => RR19Q2
2019-10-31 21:29rafarodaRelationship addedrelated to 0042169

Notes
(0110340)
hgbot   
2019-03-11 11:10   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: de76c7fe1b0ab0e879967bc9c4abf672cf342131
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Mar 11 15:39:54 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/de76c7fe1b0ab0e879967bc9c4abf672cf342131 [^]

Related to issue 40318 : Business Date should be normalized while completing the receipt

* In PreOrderSave hook, pOSSBusinessDate should be normalized based on server date to support different timezones

---
M web/org.openbravo.retail.sessions/js/components/ordersavehook.js
---
(0110545)
jorge-garcia   
2019-03-21 13:31   
Code reviewed and tested