Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039775Retail ModulesSessionspublic2018-12-10 15:292018-12-17 12:58
samuel_nicuesa 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
pi 
RR19Q1 
marvintm
No
0039775: Wrong Business Date login offline with different users.
Wrong Business Date login offline with different users.
You need to have installed session module
[BO]

Open Store setting business date 10-12-2018

[POS]

- Login user Vallblanca
- Create 2 tickets
- Do cashup

- Login with another user (demouser)
- Create 2 tickets
- Do Cash up

[BO]

- Execute close store
- Execute open store using BD 11-12-2018

[POS]

-Login user Vallblanca
-Create 2 tickets
-Do Cash up

-Now local BD is 11-12-2018

- Login OFFLINE user demouser (BD saved = 10-12-2018)
- Create 2 tickets (BD for these tickets will be 10-12-2018 instead of 11-12-2018)
- Go online
- Do cashup

[BO]

-Check in BO that BD for these invoices is the previous one saved.
No tags attached.
png wrongBD.png (86,765) 2018-12-10 15:29
https://issues.openbravo.com/file_download.php?file_id=12418&type=bug
png
Issue History
2018-12-10 15:29samuel_nicuesaNew Issue
2018-12-10 15:29samuel_nicuesaAssigned To => Retail
2018-12-10 15:29samuel_nicuesaFile Added: wrongBD.png
2018-12-10 15:29samuel_nicuesaResolution time => 1546210800
2018-12-10 15:29samuel_nicuesaTriggers an Emergency Pack => No
2018-12-10 16:29rafarodaIssue Monitored: rafaroda
2018-12-11 10:08ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-12-11 10:08ranjith_qualiantech_comStatusnew => scheduled
2018-12-13 10:11hgbotCheckin
2018-12-13 10:11hgbotNote Added: 0108576
2018-12-13 12:28ranjith_qualiantech_comStatusscheduled => resolved
2018-12-13 12:28ranjith_qualiantech_comResolutionopen => fixed
2018-12-17 12:58marvintmReview Assigned To => marvintm
2018-12-17 12:58marvintmStatusresolved => closed
2018-12-17 12:58marvintmFixed in Version => RR19Q1

Notes
(0108576)
hgbot   
2018-12-13 10:11   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 8a45cc565608b41ff3d058ca3217a3a1b39fec1d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Dec 13 11:04:28 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/8a45cc565608b41ff3d058ca3217a3a1b39fec1d [^]

Related to issue 39775 : Terminal Business date should be updated with localStorage Business date in offline mode

* In Offline mode, If Terminal Business date is less than localStorage Business date then
  Terminal Business date should be updated with localStorage Business date

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