Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030713Retail ModulesWeb POSpublic2015-09-01 12:122015-09-21 09:39
guilleaer 
mario_castello 
urgentmajoralways
closedfixed 
5
 
 
migueldejuana
No
0030713: dateorder is set when the ticket is created in WebPOS not when it is processed
The order date of the order is set when the order date is created in the client side. It could lead in a wrong order date if the order is synchronized with the backend in the next day.

the order date will be 30 and the creation date of the order will be 31
create a new order in web pos at 23:59 of day x
wait until 00:01
process the order

You will see that orderdate is x but creation date is x+1
look at how creationDate is set
set the orderDate in the very same places but the orderData must the local date, not the GMT date
No tags attached.
depends on defect 0030472RR15Q4 closed Orekaria Stabilization: Sometimes the incoming 'creationDate' is not correct 
related to defect 0030702 closed Retail POS Receipt Date/Time Issue 
Issue History
2015-09-01 12:12guilleaerNew Issue
2015-09-01 12:12guilleaerAssigned To => Retail
2015-09-01 12:12guilleaerTriggers an Emergency Pack => No
2015-09-01 12:41VictorVillarResolution time => 1444082400
2015-09-01 12:41VictorVillarPrioritynormal => urgent
2015-09-01 12:41VictorVillarReproducibilityhave not tried => always
2015-09-09 19:31OrekariaProposed Solution updated
2015-09-10 09:56OrekariaRelationship addeddepends on 0030472
2015-09-10 17:26mario_castelloAssigned ToRetail => mario_castello
2015-09-10 17:26mario_castelloStatusnew => scheduled
2015-09-11 16:47OrekariaRelationship addedrelated to 0030702
2015-09-15 10:35OrekariaNote Added: 0080395
2015-09-15 10:36OrekariaStatusscheduled => resolved
2015-09-15 10:36OrekariaFixed in Version => RR15Q4
2015-09-15 10:36OrekariaResolutionopen => fixed
2015-09-15 11:26OrekariaNote Deleted: 0080395
2015-09-15 11:27hgbotCheckin
2015-09-15 11:27hgbotNote Added: 0080397
2015-09-15 11:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fa909d5e1af8a68168d5c43ab9bed9b3326ff55 [^]
2015-09-18 11:25mtaalReview Assigned To => migueldejuana
2015-09-21 09:36migueldejuanaNote Added: 0080517
2015-09-21 09:36migueldejuanaStatusresolved => closed
2015-09-21 09:38migueldejuanaStatusclosed => new
2015-09-21 09:38migueldejuanaResolutionfixed => open
2015-09-21 09:38migueldejuanaFixed in VersionRR15Q4 =>
2015-09-21 09:39migueldejuanaStatusnew => scheduled
2015-09-21 09:39migueldejuanaStatusscheduled => resolved
2015-09-21 09:39migueldejuanaResolutionopen => fixed
2015-09-21 09:39migueldejuanaStatusresolved => closed

Notes
(0080397)
hgbot   
2015-09-15 11:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5fa909d5e1af8a68168d5c43ab9bed9b3326ff55
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Mon Sep 14 10:26:36 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fa909d5e1af8a68168d5c43ab9bed9b3326ff55 [^]

Fixed issue 30713: Set the orderDate when ticket is processed

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0080517)
migueldejuana   
2015-09-21 09:36   
Tested and reviewed