Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031642Retail ModulesCash uppublic2015-11-27 13:472015-12-11 08:30
malsasua 
Orekaria 
immediatemajoralways
closedfixed 
20Community Appliance
 
RR15Q4.1RR15Q4.1 
guilleaer
Production - Confirmed Stable
No
0031642: invoice date is wrong in invoice created in cashup
when a invoice is created by cashup, the invoice date is wrong
(see attachment)
. in webpos
 . create a receipt
 . do a cashup

. in backoffice
 . go to sales invoice
  . check date invoice
-> it is wrong
(see attachment)
No tags attached.
blocks defect 0031619 closed Orekaria invoice date is wrong in invoice created in cashup 
Issue History
2015-12-02 13:58OrekariaTypedefect => backport
2015-12-02 13:58OrekariaTarget Version => RR15Q4.2
2015-12-04 12:40guilleaerTarget VersionRR15Q4.2 => RR15Q4.1
2015-12-09 10:24guilleaerAssigned ToRetail => Orekaria
2015-12-10 18:46hgbotCheckin
2015-12-10 18:46hgbotNote Added: 0082652
2015-12-10 18:46hgbotStatusscheduled => resolved
2015-12-10 18:46hgbotResolutionopen => fixed
2015-12-10 18:46hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4.1/org.openbravo.retail.posterminal/rev/bd31b822b49d1914c0d3c75502b2d2008f887765 [^]
2015-12-10 18:46OrekariaNote Added: 0082653
2015-12-10 22:16hgbotCheckin
2015-12-10 22:16hgbotNote Added: 0082655
2015-12-11 08:30guilleaerReview Assigned To => guilleaer
2015-12-11 08:30guilleaerStatusresolved => closed
2015-12-11 08:30guilleaerFixed in Version => RR15Q4.1

Notes
(0082652)
hgbot   
2015-12-10 18:46   
Repository: retail/backports/3.0RR15Q4.1/org.openbravo.retail.posterminal
Changeset: bd31b822b49d1914c0d3c75502b2d2008f887765
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Dec 02 17:20:43 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.1/org.openbravo.retail.posterminal/rev/bd31b822b49d1914c0d3c75502b2d2008f887765 [^]

Fixes issue 31642, backport of 31619: The 'timezoneOffset' is sent to the server and the server correctly handles the incoming date

The problem was that the terminal was sending the date in a format that the server was unable to process, and then, the server date was taken. Also, the timezone offset was not sent to the server and the server could not recreate the correct terminal date.

The solution:
- the terminal sends the date in ISO format and the timezone offset
- the server processes the date and timezone offset and recreates the terminal date
- better checks and log messages have been added

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
---
(0082653)
Orekaria   
2015-12-10 18:46   
Repository: retail/backports/3.0RR15Q4.1/org.openbravo.mobile.core
Changeset: be4429f4ffded4420169633ad6bab4c5b4774a6c
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Dec 02 17:20:23 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.1/org.openbravo.mobile.core/rev/be4429f4ffded4420169633ad6bab4c5b4774a6c [^]

Fixes issue 31619: The 'timezoneOffset' is sent to the server and the server correctly handles the incoming date

The problem was that the terminal was sending the date in a format that the server was unable to process, and then, the server date was taken. Also, the timezone offset was not sent to the server and the server could not recreate the correct terminal date.

The solution:
- the terminal sends the date in ISO format and the timezone offset
- the server processes the date and timezone offset and recreates the terminal date
- better checks and log messages have been added

---
M src/org/openbravo/mobile/core/utils/OBMOBCUtils.java
---
(0082655)
hgbot   
2015-12-10 22:16   
Repository: tools/automation/pi-mobile
Changeset: 6a81269149c57176b736a5f6848e7e33c8048281
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Dec 10 18:57:41 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6a81269149c57176b736a5f6848e7e33c8048281 [^]

Related to issue 31642: Verify also the cashup date

---
M src-test/org/openbravo/test/mobile/common/selenium/database/WebPOSDatabaseHelper.java
---