Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039565Retail ModulesSessionspublic2018-10-30 10:332019-01-21 10:36
anderaranguren 
javierRodriguez 
urgentmajoralways
closedfixed 
5
 
RR19Q2 
marvintm
No
0039565: 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
Close the store from the backend (Time zone in the server is GMT+1)
Open it with the current date(30-10-2018)
Go to the Web POS and complete some orders
Change the time zone of the client to GMT +6
Complete another order
Go to the backend to Data Import Entries window and see that the pOSSBusinessDate of the JSON is for the day before (29-10-2018)
No tags attached.
related to defect 0039695 closed ranjith_qualiantech_com Sales report does not summarize product sales 
related to defect 0040318 closed ranjith_qualiantech_com 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 
png DIEWindow.png (154,530) 2018-10-30 10:33
https://issues.openbravo.com/file_download.php?file_id=12340&type=bug
png
Issue History
2018-10-30 10:33anderarangurenNew Issue
2018-10-30 10:33anderarangurenAssigned To => Retail
2018-10-30 10:33anderarangurenFile Added: DIEWindow.png
2018-10-30 10:33anderarangurenResolution time => 1542668400
2018-10-30 10:33anderarangurenTriggers an Emergency Pack => No
2018-10-30 10:58rafarodaIssue Monitored: rafaroda
2018-10-31 19:40rqueraltaAssigned ToRetail => rqueralta
2018-10-31 20:30rqueraltaStatusnew => scheduled
2018-11-07 21:56hgbotCheckin
2018-11-07 21:56hgbotNote Added: 0107785
2018-11-07 21:56hgbotStatusscheduled => resolved
2018-11-07 21:56hgbotResolutionopen => fixed
2018-11-07 21:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/ccc120e9e11058337176b2d7af1724db21cfbc50 [^]
2018-11-16 10:38marvintmReview Assigned To => marvintm
2018-11-16 10:38marvintmStatusresolved => closed
2018-11-16 10:38marvintmFixed in Version => RR19Q1
2018-11-28 17:05adrianromeroNote Added: 0108157
2018-11-28 17:05adrianromeroStatusclosed => new
2018-11-28 17:05adrianromeroResolutionfixed => open
2018-11-28 17:05adrianromeroFixed in VersionRR19Q1 =>
2018-11-28 17:06adrianromeroRelationship addedrelated to 0039695
2018-12-26 18:12hgbotCheckin
2018-12-26 18:13hgbotNote Added: 0108756
2018-12-26 18:13hgbotStatusnew => resolved
2018-12-26 18:13hgbotResolutionopen => fixed
2018-12-26 18:13hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/ccc120e9e11058337176b2d7af1724db21cfbc50 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/c5f5a6691409b5e48c858c3090d2217bbf43c4b7 [^]
2018-12-27 08:53hgbotCheckin
2018-12-27 08:53hgbotNote Added: 0108761
2018-12-27 08:53hgbotCheckin
2018-12-27 08:53hgbotNote Added: 0108762
2018-12-27 08:54marvintmAssigned Torqueralta => Retail
2018-12-27 08:54marvintmStatusresolved => new
2018-12-27 08:54marvintmResolutionfixed => open
2018-12-27 09:01marvintmAssigned ToRetail => javierRodriguez
2018-12-27 09:01marvintmStatusnew => scheduled
2019-01-03 16:06hgbotCheckin
2019-01-03 16:06hgbotNote Added: 0108817
2019-01-03 16:06hgbotStatusscheduled => resolved
2019-01-03 16:06hgbotResolutionopen => fixed
2019-01-03 16:06hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/c5f5a6691409b5e48c858c3090d2217bbf43c4b7 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/216059a5de769e98dc590837daf0913c75f63649 [^]
2019-01-10 10:11marvintmStatusresolved => new
2019-01-10 10:11marvintmResolutionfixed => open
2019-01-10 10:11marvintmStatusnew => scheduled
2019-01-18 09:57hgbotCheckin
2019-01-18 09:57hgbotNote Added: 0109008
2019-01-18 09:57hgbotStatusscheduled => resolved
2019-01-18 09:57hgbotResolutionopen => fixed
2019-01-18 09:57hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/216059a5de769e98dc590837daf0913c75f63649 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/78bcd24eb35883315a4ee9fb449f35e7555e802b [^]
2019-01-21 10:36marvintmStatusresolved => closed
2019-01-21 10:36marvintmFixed in Version => RR19Q2
2019-03-05 14:44anderarangurenRelationship addedrelated to 0040318
2019-10-31 21:29rafarodaRelationship addedrelated to 0042169

Notes
(0107785)
hgbot   
2018-11-07 21:56   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: ccc120e9e11058337176b2d7af1724db21cfbc50
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Nov 07 21:51:58 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/ccc120e9e11058337176b2d7af1724db21cfbc50 [^]

Fixed issue 39565: pOSSBusinessDate is changing the Date to the day before when
the client is in another time zone than the server

---
M web/org.openbravo.retail.sessions/js/components/ordersavehook.js
---
(0108157)
adrianromero   
2018-11-28 17:05   
This fix makes clients with negative time zones, for example GMT-5 to store in the receipt one day before of the actual business date
(0108756)
hgbot   
2018-12-26 18:12   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: c5f5a6691409b5e48c858c3090d2217bbf43c4b7
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Dec 26 12:01:31 2018 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/c5f5a6691409b5e48c858c3090d2217bbf43c4b7 [^]

Fixed issue 39565: pOSSBusinessDate is changing the Date to the day before when
the client is in another time zone than the server

- Changed OB.I18N.normalizeDate by OB.I18N.formatDateISO function

---
M web/org.openbravo.retail.sessions/js/components/ordersavehook.js
---
(0108761)
hgbot   
2018-12-27 08:53   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 9dbba4d7caace3c25e86c35c7d5e839b1d949f13
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Dec 27 08:52:03 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/9dbba4d7caace3c25e86c35c7d5e839b1d949f13 [^]

Related to issue 39565. Backed out change as it was not working correctly in iOS

---
M web/org.openbravo.retail.sessions/js/components/ordersavehook.js
---
(0108762)
hgbot   
2018-12-27 08:53   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 27fb2d929f73af9ed46b26d3992afbff3d8a666d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Dec 27 08:52:45 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/27fb2d929f73af9ed46b26d3992afbff3d8a666d [^]

Related to issue 39565. Backed out change as it was not working correctly in iOS

---
M web/org.openbravo.retail.sessions/js/components/ordersavehook.js
---
(0108817)
hgbot   
2019-01-03 16:06   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 216059a5de769e98dc590837daf0913c75f63649
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Fri Jan 04 02:02:12 2019 +1100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/216059a5de769e98dc590837daf0913c75f63649 [^]

Fixed issue 39565: pOSSBussinessDate is changing the Date to the day before when the client is in another time zone than the server

Used new method OB.I18N.parseServerDateWithoutTimeZoneOffset in ob-i18n.js that return the server date without tiezone offset

---
M web/org.openbravo.retail.sessions/js/components/ordersavehook.js
---
(0109008)
hgbot   
2019-01-18 09:57   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 78bcd24eb35883315a4ee9fb449f35e7555e802b
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Fri Jan 18 09:55:05 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/78bcd24eb35883315a4ee9fb449f35e7555e802b [^]

Fixed issue 39565: pOSSBusinessDate is changing the Date to the day before when the client is in another time zone than the server

Changed the format that the businessDate is set in the POS. It is set with the same format if you open the store in
backend or in a POS.

This changes also fix the related issue

---
M web/org.openbravo.retail.sessions/js/components/BusinessDateModel.js
M web/org.openbravo.retail.sessions/js/components/ordersavehook.js
---