Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045500Retail ModulesWeb POSpublic2020-11-04 10:572020-11-25 15:45
salvador_campanella 
gorka_gil 
normalmajoralways
closedfixed 
5
pi 
RR20Q4RR20Q4 
No
0045500: When a product is selected and just after the window refreshes the product line is lost
When a product is selected and just after the window refreshes the product line is lost
In the web POS
1.- Select a product
2.- just after the line appears in the receipt press the F5 key

- Error: the line will not be present after finishing the refresh
No tags attached.
blocks defect 0045374 closed gorka_gil When a product is selected and just after the window refreshes the product line is lost 
Issue History
2020-11-24 18:01marvintmTypedefect => backport
2020-11-24 18:01marvintmTarget Version => RR20Q4
2020-11-25 15:38hgbotNote Added: 0124618
2020-11-25 15:45hgbotResolutionopen => fixed
2020-11-25 15:45hgbotStatusscheduled => closed
2020-11-25 15:45hgbotFixed in Version => RR20Q4
2020-11-25 15:45hgbotNote Added: 0124619
2020-11-25 15:45hgbotNote Added: 0124620

Notes
(0124618)
hgbot   
2020-11-25 15:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/107 [^]
(0124619)
hgbot   
2020-11-25 15:45   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: b8b9aee919796a7c668c415fcbabdbeb1e2139d6
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2020-11-25T15:36:39+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/b8b9aee919796a7c668c415fcbabdbeb1e2139d6 [^]

Fixed ISSUE-45500: capture the unload event to try to persist the state before

It doesn't ensure that the state will be persisted,
since for the asynchronous code there is no way to wait for it,
so in most cases will have time to save the state, but in some not

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0124620)
hgbot   
2020-11-25 15:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/107 [^]