Openbravo Issue Tracking System - POS2
View Issue Details
0051155POS2Corepublic2022-12-14 15:512023-01-19 18:22
dorian_robillard 
jonae 
urgentmajoralways
closedfixed 
5
 
23Q2 
No
0051155: With the new de Open/close store, it is possible to do a sale in other business date even if configured as not possible
With a store configured with
- Set automatic business date = Yes
- Allow enter the POS if different date = No

It is possible to do a sale in other business date
In a store configured with :
- Set automatic business date = Yes
- Allow enter the POS if different date = No

When I connect in a till with cash up not done in a past date, I have a pop up to inform me with 2 options
"Logout" or "cashup this till"

I click on "cash up this till", the cash up screen is shown but the problem is that in this screen, I can click on "abord" and do a sale
No tags attached.
related to defect 0051318 closed jonae Retail Modules When the system provides the options of cashup and logout, the cashup is navigating to the initial count window 
related to feature request 0050230 closed aferraz Retail Modules Implement open/close store process in ReactPOS 
causes defect 0051549 closed jonae POS2 After closing the store or till the login is showing an error related to the end of the cashup that is wrong 
Issue History
2022-12-14 15:51dorian_robillardNew Issue
2022-12-14 15:51dorian_robillardAssigned To => Triage Platform Base
2022-12-14 15:51dorian_robillardTriggers an Emergency Pack => No
2022-12-14 21:35jonaeAssigned ToTriage Platform Base => jonae
2022-12-19 07:04hgbotNote Added: 0144796
2023-01-11 11:42rafarodaRelationship addedrelated to 0051318
2023-01-11 14:40hgbotNote Added: 0145259
2023-01-12 12:56jonaeRelationship addedrelated to 0050230
2023-01-12 16:45hgbotNote Added: 0145357
2023-01-12 16:45hgbotNote Added: 0145358
2023-01-13 11:56hgbotNote Added: 0145379
2023-01-16 10:14hgbotResolutionopen => fixed
2023-01-16 10:14hgbotStatusnew => closed
2023-01-16 10:14hgbotFixed in Version => 23Q2
2023-01-16 10:14hgbotNote Added: 0145439
2023-01-16 10:14hgbotNote Added: 0145440
2023-01-19 18:22hgbotNote Added: 0145665
2023-01-19 18:22hgbotNote Added: 0145666
2023-02-09 11:47jonaeRelationship addedcauses 0051548
2023-02-09 11:51jonaeRelationship addedcauses 0051549

Notes
(0144796)
hgbot   
2022-12-19 07:04   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/62 [^]
(0145259)
hgbot   
2023-01-11 14:40   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1452 [^]
(0145357)
hgbot   
2023-01-12 16:45   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2a48cb481bff5b39123d2020ab3a78aefd95afa3
Author: Jon Alegría <jon.alegria@openbravo.com>
Date: 12-01-2023 15:45:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2a48cb481bff5b39123d2020ab3a78aefd95afa3 [^]

Related to ISSUE-51155: Adding an on exit hook in the cashup window to avoid the exit when the cashup has started

---
A web-jspack/org.openbravo.pos2/src/components/Cashup/cashupOnExitPopup.js
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/cashup/CashupWindowHooks.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0145358)
hgbot   
2023-01-12 16:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1452 [^]
(0145379)
hgbot   
2023-01-13 11:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1462 [^]
(0145439)
hgbot   
2023-01-16 10:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a49dac75eac06a204936506ea47986dbc5f09f62
Author: Jon Alegría <jon.alegria@openbravo.com>
Date: 16-01-2023 09:13:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a49dac75eac06a204936506ea47986dbc5f09f62 [^]

Fixes ISSUE-51155: Adding infrastructure to support the force cashup when entering on the cashup functionality

---
M web-jspack/org.openbravo.pos2/src/authentication/__test__/ForceCashup.test.jsx
M web-jspack/org.openbravo.pos2/src/authentication/shouldForceCashup.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/cashup/AbortCashup.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/cashup/CashupWindowHooks.js
---
(0145440)
hgbot   
2023-01-16 10:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1462 [^]
(0145665)
hgbot   
2023-01-19 18:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 9ddfe5816b10787c2d812ad0667f7d0625e259a3
Author: Jon Alegría <jon.alegria@openbravo.com>
Date: 19-01-2023 17:22:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/9ddfe5816b10787c2d812ad0667f7d0625e259a3 [^]

Fixes ISSUE-51155: Adding parameter to force the cashup when it comes from a cashup till due to a divergency in the dates

---
M web-jspack/org.openbravo.retail.sessions/src/model/till/TillUtils.js
M web-jspack/org.openbravo.retail.sessions/src/model/till/user-actions/ValidateClosedTillsNotClosedStore.js
---
(0145666)
hgbot   
2023-01-19 18:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/62 [^]