Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047756Retail ModulesWeb POSpublic2021-09-08 20:322021-09-27 11:54
lbressan 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR21Q1.3 
RR21Q2.4RR21Q2.4 
Production - Confirmed Stable
2020-02-20
RR20Q2
https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/3 [^]
No
0047756: Errors when opening two POS tabs/windows on the same computer
Problems when making a cashup when the user opens two tabs / windows with the same POS on the same computer and makes different payments.



Attached video of the client and in livebuilds.
1)Open Openbravo 3.0RR21Q1.3 backend

2) Access Preferences and check the status of the Property "Terminal Authentication enabled". Appears with value "Y".

3)Open a POS and sell normally. We make 2 tickets of € 10 each and we charge in cash

4) Open a second POS , which opens by default in a new browser tab.

5) Check from the new POS that the tickets already sold from the old POS are listed. And check the amount of sales offered by a Partial Closing. That's right, the two € 10 tickets appear and the Partial Closing adds up to € 20.

6) Make new sales at this new POS.
We check again that new tickets are still being recorded from Open Ticket. All the previous tickets appear and also the two new ones of € 5 each, and we also check a Partial Closing that is correct since it gives us a total of € 30.

7) Change focus to "old" POS window/tab. To avoid blocking the window, refresh the browser with F5 or icon.

8)Check the old "the total of tickets made in both from Open Order, and everything OK, the same is OK".

9)Check the "old" POS for a partial cashup. ERROR: the amount of sales in the "old" is different and less than the last calculated in the other window, it seems that it does not take into account the sales made in the open air after this one. He gives us € 20 and not € 30.

No tags attached.
blocks defect 0047657 closed ranjith_qualiantech_com Errors when opening two POS tabs/windows on the same computer 
Issue History
2021-09-27 07:26marvintmTypedefect => backport
2021-09-27 07:26marvintmTarget Version => RR21Q2.4
2021-09-27 08:17hgbotNote Added: 0132009
2021-09-27 11:54hgbotNote Added: 0132014
2021-09-27 11:54hgbotResolutionopen => fixed
2021-09-27 11:54hgbotStatusscheduled => closed
2021-09-27 11:54hgbotFixed in Version => RR21Q2.4
2021-09-27 11:54hgbotNote Added: 0132015

Notes
(0132009)
hgbot   
2021-09-27 08:17   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/289 [^]
(0132014)
hgbot   
2021-09-27 11:54   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/289 [^]
(0132015)
hgbot   
2021-09-27 11:54   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: bb95d5947ea62d8721459662b82a12edc0a2c508
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-09-27T11:19:41+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/bb95d5947ea62d8721459662b82a12edc0a2c508 [^]

Fixed ISSUE-47756: State Persistence should be prevented if application UI is locked
* When POS is opened in another tab, last tab UI will be blocked and State Persistence should be prevented

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---