Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047755Retail ModulesWeb POSpublic2021-09-08 20:322021-09-27 11:55
lbressan 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR21Q1.3 
RR21Q3.3RR21Q3.3 
Production - Confirmed Stable
2020-02-20
RR20Q2
https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/3 [^]
No
0047755: 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 => RR21Q3.3
2021-09-27 08:17hgbotNote Added: 0132010
2021-09-27 11:55hgbotResolutionopen => fixed
2021-09-27 11:55hgbotStatusscheduled => closed
2021-09-27 11:55hgbotFixed in Version => RR21Q3.3
2021-09-27 11:55hgbotNote Added: 0132016
2021-09-27 11:55hgbotNote Added: 0132017

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

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

Fixed ISSUE-47755: 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
---
(0132017)
hgbot   
2021-09-27 11:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/290 [^]