Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051475Retail ModulesSessionspublic2023-01-26 19:102023-07-13 11:44
jonae 
prakashmurugesan88 
normalminorhave not tried
closedfixed 
5
 
 
No
0051475: When the store is opened in a past date and there is a ticket opened, the cashup button does not navigate to cashup
With the following configuration:
- Set automatic business date = Yes
- Allow enter the POS if different date = No
- Allow reopen store on the same day = No

The till is opened in a past date. There is a ticket pending to be managed in the till. In this conditions, when login, the till proposes the options of cashup and logout, but the cashup option is not navigating to the cashup window because the system launches an error saying that the opened ticket needs to be managed. In this case the user can continue selling in a past date which is wrong.
With the following configuration:
- Set automatic business date = Yes
- Allow enter the POS if different date = No
- Allow reopen store on the same day = No
- Ticket opened in the till.
- Till opened in a previous date.

- Login
- Cashup and logout options are provided.
- Choose cashup
- The system provides an error saying that the ticket opened needs to be managed.
- The user can operate in the till with a previous date which is wrong.
No tags attached.
related to feature request 0050230 closed aferraz Implement open/close store process in ReactPOS 
related to defect 0051318 closed jonae When the system provides the options of cashup and logout, the cashup is navigating to the initial count window 
Issue History
2023-01-26 19:10jonaeNew Issue
2023-01-26 19:10jonaeAssigned To => jonae
2023-01-26 19:10jonaeTriggers an Emergency Pack => No
2023-01-26 19:11jonaeRelationship addedrelated to 0050230
2023-01-27 10:24rafarodaRelationship addedrelated to 0051318
2023-02-23 09:43dbazNote Added: 0146900
2023-02-23 09:44dbazNote Edited: 0146900bug_revision_view_page.php?bugnote_id=0146900#r25574
2023-06-10 04:42prakashmurugesan88Assigned Tojonae => prakashmurugesan88
2023-06-10 04:42prakashmurugesan88Statusnew => scheduled
2023-06-13 12:16hgbotNote Added: 0151097
2023-06-21 16:25hgbotNote Added: 0151449
2023-06-21 16:25hgbotResolutionopen => fixed
2023-06-21 16:25hgbotStatusscheduled => closed
2023-06-21 16:25hgbotNote Added: 0151450
2023-07-12 11:19hgbotNote Added: 0152378
2023-07-13 11:44hgbotNote Added: 0152441
2023-07-13 11:44hgbotNote Added: 0152442

Notes
(0146900)
dbaz   
2023-02-23 09:43   
(edited on: 2023-02-23 09:44)
The steps to reproduce end in
- The user can operate in the till with a previous date which is wrong.

What should happen from there is that
- The "New Order" button is disabled
- If there are more than one order pending to be managed, once an order is either deleted or paid, instead of open a new order, it opens another of the pending to be managed
- If it is the last order pending to be managed, once an order is either deleted or paid, it displays again the unclosable popup of "Pending Cash Up and..." with the "Logout" and "Cash Up This Till" options.

(0151097)
hgbot   
2023-06-13 12:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/86 [^]
(0151449)
hgbot   
2023-06-21 16:25   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/86 [^]
(0151450)
hgbot   
2023-06-21 16:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: a5535cd32c7e7757bc3f994c6f22152d0fce59f7
Author: Prakash M <prakash@qualiantech.com>
Date: 21-06-2023 14:25:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/a5535cd32c7e7757bc3f994c6f22152d0fce59f7 [^]

Fixed ISSUE-51475: Forced Cashup/Complete Pending Ticket when there is pending cashup with different date

* When automatic businessdate and not allow to enter in a different date, block the cashier to work on new tickets till a cashup is done

* show the force cashup popup after each ticket action (new, delete, complete, cancel) and block the new order and orders buttons

---
M web-jspack/org.openbravo.retail.sessions/src/model/till/user-actions/ValidateWhenSelling.js
M web-jspack/org.openbravo.retail.sessions/src/model/till/user-actions/__test__/ValidateWhenSelling.test.js
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0152378)
hgbot   
2023-07-12 11:19   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/91 [^]
(0152441)
hgbot   
2023-07-13 11:44   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 01bcd767a7f88a348bdf1a874d18e44923034bc4
Author: Prakash M <prakash@qualiantech.com>
Date: 13-07-2023 11:04:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/01bcd767a7f88a348bdf1a874d18e44923034bc4 [^]

Related to ISSUE-51475: Blocked New Ticket Creation Till doing Cashup

---
M web-jspack/org.openbravo.retail.sessions/src/model/till/user-actions/ValidateWhenSelling.js
M web-jspack/org.openbravo.retail.sessions/src/model/till/user-actions/__test__/ValidateWhenSelling.test.js
M web-jspack/org.openbravo.retail.sessions/src/ob-init.js
---
(0152442)
hgbot   
2023-07-13 11:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/91 [^]