Openbravo Issue Tracking System - POS2
View Issue Details
0048550POS2POSpublic2022-02-08 10:492022-02-13 11:00
javietxe 
Retail 
normalmajorhave not tried
closedfixed 
5
 
 
2022-03-01
No
0048550: Selecting safeboxes in offline
If a till is opened in offline and the safebox is selected, when the data is synchronized to de backoffice, the import entry of the cashup opening is in error.

See the example attached (printscreen + stacktrace)

Moreover, as the cashup is not being created, the cashup close process writes this message:
[Import Entry - 1] INFO org.openbravo.retail.posterminal.ProcessCashClose - The dateOut property for the history record of the safebox 14AF71B7BDA64BBEB1DC6B2AFA267CBE has not been set because there are not history records created yet.

But it doesn't create the record. So in the backoffice there is no link between the safebox and the cashup where the safebox has been used.
Put the POS 2 in offline.
Log in to the POS 2.
Select a Safe Box.
Do an order.
Put the POS 2 online.

Wait in the backoffice until the messages are syncrhonized. Check that in Data Import Entries window there is a "Count Safe Box" registry in error.
No tags attached.
related to defect 0048547 closed Retail Safeboxes cashup import entries order can be not respected 
blocks backport 0048548TAP closed ebecerra [FLUN-2684] Selecting safeboxes in offline 
Issue History
2022-02-08 11:11guilleaerTypedefect => backport
2022-02-08 11:11guilleaerTarget Version => TAP
2022-02-10 13:14guilleaerTypebackport => defect
2022-02-10 13:14guilleaerTarget VersionTAP =>
2022-02-10 14:21guilleaerRelationship addedrelated to 0048547
2022-02-11 09:28hgbotNote Added: 0134917
2022-02-13 11:00hgbotResolutionopen => fixed
2022-02-13 11:00hgbotStatusscheduled => closed
2022-02-13 11:00hgbotNote Added: 0134942
2022-02-13 11:00hgbotNote Added: 0134943

Notes
(0134917)
hgbot   
2022-02-11 09:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/809 [^]
(0134942)
hgbot   
2022-02-13 11:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8b236414194564185a708dcf6d982c9fa500dddf
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 13-02-2022 10:57:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8b236414194564185a708dcf6d982c9fa500dddf [^]

Fixes ISSUE-48550: Fixes selecting safeboxes in offline mode

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/SelectDrawerStep.jsx
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/PreparePayloadForFinishInitialCount.js
---
(0134943)
hgbot   
2022-02-13 11:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/809 [^]