Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031586Retail ModulesWeb POSpublic2015-11-25 18:522016-03-29 11:41
Orekaria 
fmolina 
normalmajoralways
closedfixed 
5
 
RR16Q1 
guilleaer
No
0031586: Stabilization: The orderDate should be stored in ISO format
Stabilization: The orderDate should be stored in ISO format
Log into the WebPOS
Load an existing receipt (menu ยป receipts)
Execute this javascript in the Chrome console:

OB.MobileApp.model.receipt.get('creationDate')
"2014-04-22T13:57:00.000Z"
OB.MobileApp.model.receipt.get('orderDate')
Mon Apr 21 2014 00:00:00 GMT+0200 (CEST)

The orderDate date should be in ISO format, the same as the creationDate
Find all places where the orderDate is set and set it in ISO format with the OB.I18N.normalizeDate method

Create a new test, same as the VerifyCreationDateIsInISOFormat test
No tags attached.
related to defect 0031503 closed guilleaer [SERQA 397] The orderDate of receipts loaded in webPOS is showing an incorrect date 
Issue History
2015-11-25 18:52OrekariaNew Issue
2015-11-25 18:52OrekariaAssigned To => Retail
2015-11-25 18:52OrekariaTriggers an Emergency Pack => No
2015-11-25 18:53OrekariaRelationship addedrelated to 0031503
2015-11-25 20:11fmolinaStatusnew => scheduled
2015-11-25 20:11fmolinaAssigned ToRetail => fmolina
2015-12-12 20:11OrekariaStatusscheduled => acknowledged
2015-12-12 20:11OrekariaAssigned Tofmolina => Retail
2015-12-14 11:48hgbotCheckin
2015-12-14 11:48hgbotNote Added: 0082702
2015-12-14 13:48hgbotCheckin
2015-12-14 13:48hgbotNote Added: 0082717
2015-12-14 13:48hgbotStatusacknowledged => resolved
2015-12-14 13:48hgbotResolutionopen => fixed
2015-12-14 13:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/44558a33a6fca1757cba3e20781c7d63d6ec621f [^]
2015-12-14 13:48hgbotCheckin
2015-12-14 13:48hgbotNote Added: 0082718
2015-12-14 13:48hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/44558a33a6fca1757cba3e20781c7d63d6ec621f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3dcdc18afdf2887d22750c83d889cf6004b04a5c [^]
2015-12-14 13:55hgbotCheckin
2015-12-14 13:55hgbotNote Added: 0082719
2015-12-14 14:03OrekariaReview Assigned To => guilleaer
2015-12-18 12:08guilleaerStatusresolved => closed
2015-12-18 12:08guilleaerFixed in Version => RR16Q1
2016-03-29 11:41OrekariaAssigned ToRetail => fmolina

Notes
(0082702)
hgbot   
2015-12-14 11:48   
Repository: erp/pmods/org.openbravo.retail.activediscountspopup
Changeset: 1fd9ee63964642c444b007a4687cd7859df03adc
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Fri Nov 27 12:44:34 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.activediscountspopup/rev/1fd9ee63964642c444b007a4687cd7859df03adc [^]

Related to issue 31586: The orderDate is already a ISO formatted date

Keep the conversion 'toISOString' for backward compatible

---
M web/org.openbravo.retail.activediscountspopup/js/active-discounts-hook.js
---
(0082717)
hgbot   
2015-12-14 13:48   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 44558a33a6fca1757cba3e20781c7d63d6ec621f
Author: Facundo Molina <fmolina <at> koodu.es>
Date: Thu Nov 26 16:56:24 2015 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/44558a33a6fca1757cba3e20781c7d63d6ec621f [^]

Fixes issue 31586: The orderDate should be stored in ISO format

---
M web/org.openbravo.mobile.core/source/utils/ob-i18n.js
---
(0082718)
hgbot   
2015-12-14 13:48   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3dcdc18afdf2887d22750c83d889cf6004b04a5c
Author: Facundo Molina <fmolina <at> koodu.es>
Date: Thu Nov 26 16:45:17 2015 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3dcdc18afdf2887d22750c83d889cf6004b04a5c [^]

Fixes issue 31586: The orderDate should be stored in ISO format

---
M web/org.openbravo.retail.posterminal/js/components/orderdetails.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0082719)
hgbot   
2015-12-14 13:55   
Repository: tools/automation/pi-mobile
Changeset: d0ab6e67fec10271d46ff55f34e7f56a917eaef9
Author: Facundo Molina <fmolina <at> koodu.es>
Date: Thu Nov 26 16:59:02 2015 -0300
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/d0ab6e67fec10271d46ff55f34e7f56a917eaef9 [^]

Related to issue 31586: The orderDate should be stored in ISO format

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/VerifyOrderDateIsInISOFormat.java
---