Openbravo Issue Tracking System - POS2
View Issue Details
0047194POS2POSpublic2021-06-21 18:022021-07-09 09:31
jmelin 
pablobessone 
highmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
No
0047194: JIRA 1873 - No opening count after retrieve an existing opening "caisson"
A preference have been added to be able to see all safeboxes on POS even if attached.
In our case, we link the preference to a role.

To be more manageable to free a blocked safebox (statut is attached, but can't removed because of an issue), the process should be changed

If an initial count is already done for the safe box, it's not mandatory to do an initial count
Our proposal:

On the cash register, there is a button to display all the drawers, but we can add an approval so that the manager releases it


The process:
The cashier connects and cannot find her cashier
She clicks on the button "See all drawers"
His drawer appears in the list as "attached"
For attached one add a button to unlock and asssociate this button to a new user action configured with confirmation or approval
When unlock button is pressed the manager validates and the cashier can count to use it again


It seems to me that it plays back what you wanted? no more need to log out / re-log in with the Manager account
No tags attached.
depends on backport 0047210TAP closed pablobessone JIRA 1873 - No opening count after retrieve an existing opening "caisson" 
Issue History
2021-06-21 18:02jmelinNew Issue
2021-06-21 18:02jmelinAssigned To => Retail
2021-06-21 18:02jmelinTriggers an Emergency Pack => No
2021-06-22 19:46guilleaerStatusnew => acknowledged
2021-06-22 19:46guilleaerResolution time => 1625695200
2021-06-22 19:46guilleaerResolution time1625695200 => 1628978400
2021-06-22 22:20guilleaerStatusacknowledged => scheduled
2021-06-22 22:20guilleaerStatusscheduled => acknowledged
2021-06-23 10:25jmelinDescription Updatedbug_revision_view_page.php?rev_id=22756#r22756
2021-06-23 12:08dmiguelezResolution time1628978400 => 1625781600
2021-06-23 12:08dmiguelezStatusacknowledged => scheduled
2021-06-23 12:08dmiguelezAssigned ToRetail => pablobessone
2021-06-23 17:26jmelinSummaryJIRA 2115 - No opening count after retrieve an existing opening "caisson" => JIRA 1873 - No opening count after retrieve an existing opening "caisson"
2021-06-24 09:26guilleaerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22764#r22764
2021-06-24 11:44dmiguelezSummaryJIRA 1873 - No opening count after retrieve an existing opening "caisson" => JIRA 2115/1873 - No opening count after retrieve an existing opening "caisson"
2021-06-25 11:41jmelinSummaryJIRA 2115/1873 - No opening count after retrieve an existing opening "caisson" => JIRA 1873 - No opening count after retrieve an existing opening "caisson"
2021-06-29 16:48guilleaerAssigned Topablobessone => Retail
2021-06-29 16:48guilleaerStatusscheduled => acknowledged
2021-06-29 16:51guilleaerStatusacknowledged => scheduled
2021-06-29 16:51guilleaerAssigned ToRetail => pablobessone
2021-06-30 14:23hgbotNote Added: 0130021
2021-06-30 14:23hgbotNote Added: 0130022
2021-07-07 19:41hgbotResolutionopen => fixed
2021-07-07 19:41hgbotStatusscheduled => closed
2021-07-07 19:41hgbotNote Added: 0130242
2021-07-07 19:41hgbotNote Added: 0130243
2021-07-09 09:31hgbotNote Added: 0130342
2021-07-09 09:31hgbotNote Added: 0130343

Notes
(0130021)
hgbot   
2021-06-30 14:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/586 [^]
(0130022)
hgbot   
2021-06-30 14:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/18 [^]
(0130242)
hgbot   
2021-07-07 19:41   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 86ee3ffc3b27c60fb6dfc653ab0f4a605e99ecc1
Author: pablo.bessone <pablo.bessone@smfconsulting.es>
Date: 2021-07-07T19:40:49+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/86ee3ffc3b27c60fb6dfc653ab0f4a605e99ecc1 [^]

Fixes ISSUE-0047194: ask for approval before selecting attached safeboxes

Now by default only Free safeboxes are listed, but Attached safeboxes can be displayed by clicking on a Show All button.

The user actions executed when selecting attached and free safeboxes are separated, that allows to configure them so that approvals are
requested only when selecting an attached safebox

---
A web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/SafeboxHistoryShowAllButton/SafeboxHistoryShowAllButton.jsx
A web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/SafeboxHistoryShowAllButton/SafeboxHistoryShowAllButton.scss
A web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/SafeboxHistoryShowAllButton/__test__/SafeboxHistoryShowAllButton.test.jsx
A web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/SafeboxHistoryShowAllButton/index.js
A web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/SafeboxHistoryShowAllButton/stories/SafeboxHistoryShowAllButton.stories.jsx
A web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/ToggleShowAllDrawers.test.js
A web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/ToggleShowAllDrawersUserAction.test.js
A web-jspack/org.openbravo.pos2/src/model/user-interface/actions/ToggleShowAllDrawers.js
A web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/ToggleShowAllDrawers.js
A web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/cashup/SelectAttachedSafeboxToCount.js
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/OBC2_USER_ACTION.xml
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/SelectDrawerStep/SelectDrawerStep.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CountSafebox.config.json
M web-jspack/org.openbravo.pos2/src/components/InitialCountWindow/FullInitialCount.config.json
M web-jspack/org.openbravo.pos2/src/components/InitialCountWindow/InitialCountSafeboxOnly.config.json
M web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/SafeboxHistory.config.json
M web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/__test__/SafeboxHistory.test.jsx
M web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/mock/SafeboxHistoryMock.config.json
M web-jspack/org.openbravo.pos2/src/components/SafeboxHistory/stories/SafeboxHistory.stories.jsx
M web-jspack/org.openbravo.pos2/src/model/user-interface/UIExtension.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0130243)
hgbot   
2021-07-07 19:41   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/586 [^]
(0130342)
hgbot   
2021-07-09 09:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata [^]
Changeset: 29eea6a8fe271a8accd3b358813e1929d69d7f16
Author: pablo.bessone <pablo.bessone@smfconsulting.es>
Date: 2021-07-09T09:30:12+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/commit/29eea6a8fe271a8accd3b358813e1929d69d7f16 [^]

Fixes ISSUE-0047194: adds role->useraction entries for select attached safebox user action

---
M referencedata/sampledata/The_White_Valley_Group/OBC2_USER_ACTION_ACCESS.xml
---
(0130343)
hgbot   
2021-07-09 09:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/18 [^]