Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039694Retail ModulesSessionspublic2018-11-26 20:592018-12-07 12:09
normalmajorhave not tried
0039694: When login in POS the application shows a message showing the business date has changed but showing the same date
After executing a cashup and login again the application shows the message that the business date has changed but the business date has not changed.
* Log in [^]
* Execute the cashup process, the application will logout automatically
* Log in again
* Execute the Open till steps and after the till opens successfully the following message appears:

The current Business Date (26-11-2018) will be replaced by the store Business Date (26-11-2018)

See screenshot attached

Apply attached patch that uses function OB.I18N.parseServerDate() instead of new Date() to avoid problems with changes made by timezones postives and negatives
No tags attached.
png Captura de pantalla de 2018-11-26 15-01-50.png (106,855) 2018-11-26 21:02

diff issue39694.diff (3,787) 2018-11-27 17:05
Issue History
2018-11-26 20:59adrianromeroNew Issue
2018-11-26 20:59adrianromeroAssigned To => Retail
2018-11-26 20:59adrianromeroTriggers an Emergency Pack => No
2018-11-26 21:01adrianromeroDescription Updatedbug_revision_view_page.php?rev_id=17966#r17966
2018-11-26 21:02adrianromeroFile Added: Captura de pantalla de 2018-11-26 15-01-50.png
2018-11-27 17:05adrianromeroFile Added: issue39694.diff
2018-11-27 17:07adrianromeroProposed Solution updated
2018-11-28 08:09ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-11-28 08:09ranjith_qualiantech_comStatusnew => scheduled
2018-12-06 14:19hgbotCheckin
2018-12-06 14:19hgbotNote Added: 0108317
2018-12-06 14:19hgbotStatusscheduled => resolved
2018-12-06 14:19hgbotResolutionopen => fixed
2018-12-06 14:19hgbotFixed in SCM revision => [^]
2018-12-07 12:09marvintmReview Assigned To => marvintm
2018-12-07 12:09marvintmStatusresolved => closed
2018-12-07 12:09marvintmFixed in Version => RR19Q1

2018-12-06 14:19   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 2e601a9081f6873d1865fe44b7b90d9f7a369a66
Author: Ranjith S R <ranjith <at>>
Date: Thu Dec 06 18:49:45 2018 +0530
URL: [^]

Fixed issue 39694: When login in POS the application shows a message showing the business date has changed but showing the same date

* Terminal Business date and lcoalStorage Business date should be parsed using API to avoid the timezone errors

M web/org.openbravo.retail.sessions/js/components/loginhook.js
M web/org.openbravo.retail.sessions/js/countcash/countcash.js