Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045833Retail ModulesSessionspublic2021-02-02 11:442021-03-01 08:38
0045833: It is possible to have two tills opened at the same time
if login is done in offline, it is possible to open two tills at the same time for the terminal.
When cashup is done, only one of the tills is closed
. preference: Enable Close Store process in Web POS -> Y
. the store is closed and there is any till opened
. POS: do login with user1
. lock the screen
. POS: do login with user2
. window to set the current business date and open store is displayed
. open till

in Back office there are two tills opened
. in POS: do cashup

in BackOffice, only one till was closed
No tags attached.
related to defect 0051354 closed ranjith_qualiantech_com When the store is closed, and first till do login, in some cases, it is not possible to complete the login 
related to defect 0053362 closed Rajesh_18 POS asked for doing a cash up in every login if the till is Closed in Backend and the cash up stuck in Data Import Entries 
related to defect 0052728 closed ranjith_qualiantech_com Duplicate opened sessions can be created when setting business date 
related to defect 0051207RR20Q3.4 closed ranjith_qualiantech_com Refreshing when setting the business date creates duplicated sessions 
patch BUG-45833 Propouse solution.patch (3,398) 2021-02-17 15:50
Issue History
2021-02-02 11:44malsasuaNew Issue
2021-02-02 11:44malsasuaAssigned To => Retail
2021-02-02 11:44malsasuaResolution time => 1614034800
2021-02-02 11:44malsasuaTriggers an Emergency Pack => No
2021-02-02 11:52malsasuaNote Added: 0125943
2021-02-05 04:33rqueraltaAssigned ToRetail => rqueralta
2021-02-05 04:35rqueraltaStatusnew => scheduled
2021-02-17 15:50rqueraltaFile Added: BUG-45833 Propouse solution.patch
2021-02-24 12:14ranjith_qualiantech_comAssigned Torqueralta => ranjith_qualiantech_com
2021-02-24 12:15hgbotNote Added: 0126343
2021-02-24 12:16hgbotNote Added: 0126344
2021-02-24 12:16hgbotNote Added: 0126345
2021-03-01 08:38hgbotResolutionopen => fixed
2021-03-01 08:38hgbotStatusscheduled => closed
2021-03-01 08:38hgbotNote Added: 0126402
2021-03-01 08:38hgbotNote Added: 0126403
2021-03-01 08:38hgbotNote Added: 0126404
2021-03-01 08:38hgbotNote Added: 0126405
2021-03-01 08:38hgbotNote Added: 0126406
2021-03-01 08:38hgbotNote Added: 0126407
2023-01-13 10:38ranjith_qualiantech_comRelationship addedrelated to 0051354
2023-10-02 08:31malsasuaRelationship addedrelated to 0053362
2023-10-02 08:31malsasuaRelationship addedrelated to 0052728
2023-10-02 08:32malsasuaRelationship addedrelated to 0051207

2021-02-02 11:52   
One possible solution: when till is closed in backoffice because cashup is done, the process should close all tills for this terminal
2021-02-24 12:15   
Merge Request created: [^]
2021-02-24 12:16   
Merge Request created: [^]
2021-02-24 12:16   
Merge Request created: [^]
2021-03-01 08:38   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: dbe8a81a8b1ed0b5991ac08c7d4f1de2c8bb813e
Author: Ranjith S R <>
Date: 2021-02-24T16:24:15+05:30
URL: [^]

Fixed ISSUE-45833: Store and Session should be opened when moving from offline to online mode
* When user close store in POS, localstorage businessDate should be removed.
* In Offline mode, user login should be prevented if localstorage businessDate is not present and Pref. Set Businessdate in Offline mode is not enabled.
* If user1 opened store and till in offline mode and user2 loggedin online in same terminal,
  POS should be locked if data from user1 is not synced. In the background, user1 data will be synced. So when user2 login again, proper data will be fetched from backoffice

M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/sessions/
M web/org.openbravo.retail.sessions/js/components/BusinessDateModel.js
M web/org.openbravo.retail.sessions/js/components/loginhook.js
M web/org.openbravo.retail.sessions/js/countcash/countcash-model.js
2021-03-01 08:38   
Merge request merged: [^]
2021-03-01 08:38   
Merge request merged: [^]
2021-03-01 08:38   
Repository: [^]
Changeset: a8567168838977472dff47212c1ae804e35deb45
Author: Ranjith S R <>
Date: 2021-02-24T16:22:04+05:30
URL: [^]

Related to ISSUE-45833: Fixed Sample data by updating terminal session having no open tills
* Removed Cashup entry without Open tills for VBS-1 Terminal

M referencedata/sampledata/The_White_Valley_Group/AD_ORG.xml
M referencedata/sampledata/The_White_Valley_Group/FACT_ACCT.xml
M referencedata/sampledata/The_White_Valley_Group/FIN_FINACC_TRANSACTION.xml
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APPLICATIONS.xml
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APP_CASHUP.xml
2021-03-01 08:38   
Repository: [^]
Changeset: d148b1c0480c825edda6c114905a9d2038a0fd7b
Author: Ranjith S R <>
Date: 2021-03-01T07:38:39+00:00
URL: [^]

Verified ISSUE-45833: Updated Test VerifyOwnSeqBlindReturns
* Added initial cash amount for return

M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/servicesequence/
2021-03-01 08:38   
Merge request merged: [^]