Openbravo Issue Tracking System - POS2
View Issue Details
0046519POS2POSpublic2021-05-05 16:002021-06-30 11:21
jcbourgeois 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
 
marvintm
No
0046519: JIRA 1692 - Safe boxes not available in offline mode
The safe boxes are not available in offline mode : when the terminal is in offline mode, the list of safe boxes is empty at both initial count & count safe boxes.
1) Use a terminal with safe boxes feature configured
2) Put the till in offline mode
3) Login in POS2
4) Initial count window is displayed but the list of safe boxes is empty
=> A safe box cannot be used while the terminal is in offline mode
No tags attached.
depends on backport 0047225TAP closed jorge-garcia JIRA 1692 - Safe boxes not available in offline mode 
png 2021-05-05 15_33_29-Openbravo POS2.png (22,740) 2021-05-05 16:00
https://issues.openbravo.com/file_download.php?file_id=15650&type=bug
png

png 2021-05-05 15_33_48-Openbravo POS2.png (19,617) 2021-05-05 16:01
https://issues.openbravo.com/file_download.php?file_id=15651&type=bug
png
Issue History
2021-05-05 16:00jcbourgeoisNew Issue
2021-05-05 16:00jcbourgeoisAssigned To => Retail
2021-05-05 16:00jcbourgeoisFile Added: 2021-05-05 15_33_29-Openbravo POS2.png
2021-05-05 16:00jcbourgeoisTriggers an Emergency Pack => No
2021-05-05 16:01jcbourgeoisFile Added: 2021-05-05 15_33_48-Openbravo POS2.png
2021-05-07 07:12marvintmReview Assigned To => marvintm
2021-05-07 07:12marvintmNote Added: 0127872
2021-05-07 07:12marvintmStatusnew => closed
2021-05-07 07:12marvintmResolutionopen => invalid
2021-06-10 12:00dmiguelezStatusclosed => new
2021-06-10 12:00dmiguelezResolutioninvalid => open
2021-06-10 12:00dmiguelezStatusnew => acknowledged
2021-06-10 12:00dmiguelezTypedefect => backport
2021-06-10 12:00dmiguelezTypebackport => feature request
2021-06-10 12:00dmiguelezNote Added: 0129325
2021-06-22 19:22guilleaerResolution time => 1628978400
2021-06-22 20:17guilleaerReview Assigned Tomarvintm =>
2021-06-23 12:35dmiguelezResolution time1628978400 => 1625781600
2021-06-23 12:35dmiguelezStatusacknowledged => scheduled
2021-06-23 12:36dmiguelezStatusscheduled => acknowledged
2021-06-24 10:51guilleaerStatusacknowledged => scheduled
2021-06-24 10:51guilleaerAssigned ToRetail => AugustoMauch
2021-06-28 14:41guilleaerAssigned ToAugustoMauch => jorge-garcia
2021-06-29 14:42hgbotNote Added: 0129945
2021-06-29 14:50hgbotNote Added: 0129946
2021-06-30 11:17hgbotNote Added: 0129996
2021-06-30 11:17hgbotNote Added: 0129997
2021-06-30 11:20hgbotResolutionopen => fixed
2021-06-30 11:20hgbotStatusscheduled => closed
2021-06-30 11:20hgbotNote Added: 0129998
2021-06-30 11:20hgbotNote Added: 0129999
2021-06-30 11:20hgbotNote Added: 0130000
2021-06-30 11:20hgbotNote Added: 0130001
2021-06-30 11:20hgbotNote Added: 0130002
2021-06-30 11:21jorge-garciaReview Assigned To => marvintm

Notes
(0127872)
marvintm   
2021-05-07 07:12   
As per the project definition, several flows related to safe boxes are not designed to work in offline mode. Specifically, linking a safebox, counting a safebox, and displaying the status of safeboxes do not work in offline.

This limitation was clear from the beginning in the project definition. The main reason is that the safebox information is located in the backend server, and can be changed by different terminals so it would not be reliable to rely on the locally stored information. Besides this, several validations that were requested as part of the project (such as rejecting a link action if the safebox is linked to another terminal) are not possible to implement in offline mode as they would require connection to the server.
(0129325)
dmiguelez   
2021-06-10 12:00   
Requirements to be implemented:
https://docs.google.com/document/d/1GihN2n3vQIw2u0mRNotBoPwPKxkBgQZitb_ikKVR40Q/edit#heading=h.a6oe8tm7q6gg [^]
(0129945)
hgbot   
2021-06-29 14:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/583 [^]
(0129946)
hgbot   
2021-06-29 14:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/578 [^]
(0129996)
hgbot   
2021-06-30 11:17   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 9a4a0943f0954d1108a0c42a51249348502f5f9c
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-06-30T11:12:27+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/9a4a0943f0954d1108a0c42a51249348502f5f9c [^]

Related to ISSUE-46519: Allow to use default grid header column

Separate the default grid header column component to allow to use
independently from BaseHeaderRender.

For example to be able to wrap the default component into a new one

---
A web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/DefaultBaseHeaderColumn.jsx
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/BaseHeaderRender.jsx
---
(0129997)
hgbot   
2021-06-30 11:17   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/578 [^]
(0129998)
hgbot   
2021-06-30 11:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: fe0aabbf931aac34b03d45b91d7b0180f22ef5c6
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-06-30T10:58:30+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/fe0aabbf931aac34b03d45b91d7b0180f22ef5c6 [^]

Fixed ISSUE-46519: Support offline in Safebox initial count

If a safe box is selected in POS oofline mode, no initial count
is done for that safe box

Count Safebox and Drawers windows requires to be online to work

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/SelectDrawerStep.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/SelectDrawerStep.scss
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/SelectDrawerStepGridColumns.js
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/__test__/SelectDrawerStep.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/__test__/SafeboxHistory.test.jsx
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/safeboxHistory/LoadSafeboxes.js
---
(0129999)
hgbot   
2021-06-30 11:20   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: deb23059d32836d88d62a78220b8345d00531090
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-06-30T10:58:30+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/deb23059d32836d88d62a78220b8345d00531090 [^]

Related to ISSUE-46519: Link the current safe box to the terminal when
login offline

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/SelectDrawerStep.jsx
---
(0130000)
hgbot   
2021-06-30 11:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/583 [^]
(0130001)
hgbot   
2021-06-30 11:20   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2a1971c8989bbd6b9e7edec5a251f7c875129d7b
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-06-30T10:58:30+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2a1971c8989bbd6b9e7edec5a251f7c875129d7b [^]

Related to ISSUE-46519: Include tests and stories for offline case

Fix an error from tooltip

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/SelectDrawerStep.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/__test__/SelectDrawerStep.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/stories/SelectDrawerStep.stories.jsx
---
(0130002)
hgbot   
2021-06-30 11:20   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 5c13617c6e5521737a078e299df1e9117529bc54
Author: Jorge Garcia <jorge.garcia@openbravo.com>
Date: 2021-06-30T10:58:30+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5c13617c6e5521737a078e299df1e9117529bc54 [^]

Related to ISSUE-46519: Replace form from SafeBox filter to div

To avoid the onSubmit default action of the browser, replace
CashupHeaderSafeboxFilter from to a div

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupHeaderSafeboxFilter/CashupHeaderSafeboxFilter.jsx
---