Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033496Retail ModulesWeb POSpublic2016-07-19 12:412016-07-22 11:36
adrianromero 
adrianromero 
urgentmajorhave not tried
closedfixed 
5
 
 
marvintm
No
0033496: Wrong receipt time when loading paid receipts
if the server is in a time zone different than UTC when loading a paid receipt in the web pos, the time displayed is different than the time when the receipt was created
* Start the server in a time zone different than UTC (for example UTC+2=
* Create a new receipt in web pos and write down the time. for example 12:40
* Go to de menu option "Receipts" and load the previously created receipt
* Notice that the time is 10:40. This is wrong, it has to be the same time of the receipt when it was created: 12:40
No tags attached.
related to defect 0033265 closed adrianromero Times and DateTimes are not properly converted by the function getJSONArray(Query) 
Issue History
2016-07-19 12:41adrianromeroNew Issue
2016-07-19 12:41adrianromeroAssigned To => adrianromero
2016-07-19 12:41adrianromeroTriggers an Emergency Pack => No
2016-07-19 12:42adrianromeroRelationship addedrelated to 0033265
2016-07-19 12:43adrianromeroStatusnew => scheduled
2016-07-19 12:44adrianromeroNote Added: 0088579
2016-07-20 09:11hgbotCheckin
2016-07-20 09:11hgbotNote Added: 0088588
2016-07-20 09:11hgbotStatusscheduled => resolved
2016-07-20 09:11hgbotResolutionopen => fixed
2016-07-20 09:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cf970d181c7adcf467acfb586ed691932b54bfe8 [^]
2016-07-20 09:11hgbotCheckin
2016-07-20 09:11hgbotNote Added: 0088589
2016-07-20 09:13adrianromeroAssigned Toadrianromero => marvintm
2016-07-20 14:32marvintmAssigned Tomarvintm => adrianromero
2016-07-22 11:36marvintmReview Assigned To => marvintm
2016-07-22 11:36marvintmStatusresolved => closed

Notes
(0088579)
adrianromero   
2016-07-19 12:44   
Because of the fix done in issue 33265, now there is no needed to do time zone conversions in the created date when loading paid receipts.
(0088588)
hgbot   
2016-07-20 09:11   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: cf970d181c7adcf467acfb586ed691932b54bfe8
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Jul 19 12:49:24 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cf970d181c7adcf467acfb586ed691932b54bfe8 [^]

Fixes issue 0033496: Wrong receipt time when loading paid receipts
* Removing calculation of time zone for *creationDate* field. This is not needed because dates are now properly formated by *getJSONArray(Query)*.

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0088589)
hgbot   
2016-07-20 09:11   
Repository: tools/automation/pi-mobile
Changeset: eadffce416a6bacd8c09873b2d52508763a18d62
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Jul 19 16:11:29 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/eadffce416a6bacd8c09873b2d52508763a18d62 [^]

Related to issue 0033496: Wrong receipt time when loading paid receipts
* Now created comes with milliseconds also, it must not be removed.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31272_ValidateTicketDateTimeFormat.java
---