Openbravo Issue Tracking System - POS2
View Issue Details
0057155POS2POSpublic2024-11-14 11:122024-11-19 08:49
nicolasuriz 
gorka_gil 
urgentmajoralways
closedfixed 
5
 
24Q2.5 
No
0057155: Cashup is blocked in the Finish button, but each time you click on it, a new record is recorded in Cashup History window.
Cashup is blocked in the Finish button, but each time you click on it, a new record is recorded in Cashup History window.
1.Login Backoffice
2.Go to Role window and add the User action “Validate Cashup count and advance to next step” to VallBlancaCashier to Approval Required and to VallBlancaManager to Approval Required and can Approve.
3.Add the user Openbravo as “VallBlancaManager” in order to approve the action later on.
4.Go to Touchpoint type window and search for the “POS2SD VBS4 POS2 Terminal Type” record.
5.Go to Payment Method tab and select the payment method “Cash” and set in the Cash Up section the Count Difference Limit to “1”
6.Login POS in the Touchpoint “VBS-4” with the User “vallblanca” and set the role to “VallBlancaCashier”.
7.Add qty=2 of product Avalanche Transceiver and complete the sale paying with cash payment method.
8. Do a close till and count less than the expected amount, it has to be greater than the 1 euro of Count Difference Limit set at Touchpoint Type window.
9.Use the user Openbravo to approve the difference in the counting.
10.When trying to finish the Cashup, the Finish button remains blocked and each time you click on Finish, creates a new record in the Cashup History window.
No tags attached.
blocks defect 0057098 closed gorka_gil Cashup is blocked in the Finish button, but each time you click on it, a new record is recorded in Cashup History window. 
Issue History
2024-11-18 15:17gorka_gilTypedefect => backport
2024-11-18 15:17gorka_gilTarget Version => 24Q2.5
2024-11-18 16:52hgbotNote Added: 0172186
2024-11-19 08:49hgbotNote Added: 0172213
2024-11-19 08:49hgbotResolutionopen => fixed
2024-11-19 08:49hgbotStatusscheduled => closed
2024-11-19 08:49hgbotNote Added: 0172214

Notes
(0172186)
hgbot   
2024-11-18 16:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/187 [^]
(0172213)
hgbot   
2024-11-19 08:49   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/187 [^]
(0172214)
hgbot   
2024-11-19 08:49   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 7f4d295a52c13fb0f42b784997bb03833cc524a1
Author: Gorka Gil <go.gil@orisha.com>
Date: 18-11-2024 16:51:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/7f4d295a52c13fb0f42b784997bb03833cc524a1 [^]

Fixes ISSUE-57155: Manage the case when no permission for close till

It was canceling the logout after the cashup, and allowing to send again
the same cashup

The fix is ignore the error and continue with the logout

In case that fails the close till needs to be fixed manually after,
but the logout must happen anyways since the cashup was already done.

---
M web-jspack/org.openbravo.retail.sessions/src/model/till/user-actions/CloseTill.js
---