Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047657Retail ModulesWeb POSpublic2021-09-08 20:322021-10-25 12:54
lbressan 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR21Q1.3 
RR21Q4 
marvintm
Production - Confirmed Stable
2020-02-20
RR20Q2
https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/3 [^]
No
0047657: 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.
depends on backport 0047755RR21Q3.3 closed ranjith_qualiantech_com Errors when opening two POS tabs/windows on the same computer 
depends on backport 0047756RR21Q2.4 closed ranjith_qualiantech_com Errors when opening two POS tabs/windows on the same computer 
diff 47657_20Q3.diff (1,043) 2021-10-25 12:54
https://issues.openbravo.com/file_download.php?file_id=16297&type=bug
Issue History
2021-09-08 20:32lbressanNew Issue
2021-09-08 20:32lbressanAssigned To => Retail
2021-09-08 20:32lbressanRegression date => 2021-09-24
2021-09-08 20:32lbressanTriggers an Emergency Pack => No
2021-09-08 20:37lbressanNote Added: 0131664
2021-09-14 13:02marvintmRegression date2021-09-24 =>
2021-09-14 13:02marvintmAssigned ToRetail => rqueralta
2021-09-20 03:38rqueraltaStatusnew => scheduled
2021-09-20 07:37marvintmAssigned Torqueralta => ranjith_qualiantech_com
2021-09-21 11:15hgbotNote Added: 0131942
2021-09-23 10:14eugeniIssue Monitored: eugeni
2021-09-27 07:21hgbotResolutionopen => fixed
2021-09-27 07:21hgbotStatusscheduled => closed
2021-09-27 07:21hgbotFixed in Version => RR21Q4
2021-09-27 07:21hgbotNote Added: 0132007
2021-09-27 07:21hgbotNote Added: 0132008
2021-09-27 07:22marvintmStatusclosed => new
2021-09-27 07:22marvintmResolutionfixed => open
2021-09-27 07:22marvintmFixed in VersionRR21Q4 =>
2021-09-27 07:26marvintmRegression level => Production - Confirmed Stable
2021-09-27 07:26marvintmRegression date => 2020-02-20
2021-09-27 07:26marvintmRegression introduced in release => RR20Q2
2021-09-27 07:26marvintmRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/3 [^]
2021-09-27 07:26marvintmStatusnew => scheduled
2021-09-27 07:26marvintmStatusscheduled => resolved
2021-09-27 07:26marvintmFixed in Version => RR21Q4
2021-09-27 07:26marvintmResolutionopen => fixed
2021-09-27 07:26marvintmReview Assigned To => marvintm
2021-09-27 07:26marvintmStatusresolved => closed
2021-10-25 12:54ranjith_qualiantech_comFile Added: 47657_20Q3.diff

Notes
(0131664)
lbressan   
2021-09-08 20:37   
VIDEO LINK OF ERRORS: https://drive.google.com/drive/folders/14oUdz96kANgx3H0FIWJHdPlCC1uDXvCv?usp=sharing [^]
(0131942)
hgbot   
2021-09-21 11:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/288 [^]
(0132007)
hgbot   
2021-09-27 07:21   
Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-47657: 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
---
(0132008)
hgbot   
2021-09-27 07:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/288 [^]