Openbravo Issue Tracking System - POS2
View Issue Details
0056824POS2POSpublic2024-10-16 15:242024-10-24 11:25
jfvaringot 
Rajesh_18 
immediatemajoralways
closedfixed 
5
 
24Q424Q4 
main
No
0056824: POS2 - Cannot split coins and bills during cash counting when safeboxes are used
On POS2, it's not possible anymore to split coins and bills when couting cash on safebox.

Reproduced on Livebuilds : retail_pos2_modules_pgsql

-> Touchpoints : VBSSB1 or VBSSB2
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/pos/?terminal=VBSSB1 [^]
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/pos/?terminal=VBSSB2 [^]

The Issue is reproductible in 24Q4 and master
On POS (uses VBSSB1 or VBSSB2)

Can be reproduced at:
- initial counting (step 4 after login)
- final counting (step 2) (the counted safebox should not be attached to be counted).

When displaying the counting view, then clicking on 'Split Coins & Bills', an error message is displayed : 'Cannot read properties of undefined (reading 'paymentMethod')'.

No tags attached.
blocks defect 0056807 closed Rajesh_18 POS2 - Cannot split coins and bills during cash counting when safeboxes are used 
Issue History
2024-10-18 07:46migueldejuanaTypedefect => backport
2024-10-18 07:46migueldejuanaTarget Version => 24Q4
2024-10-23 08:54hgbotNote Added: 0170801
2024-10-24 11:25hgbotResolutionopen => fixed
2024-10-24 11:25hgbotStatusscheduled => closed
2024-10-24 11:25hgbotNote Added: 0170883
2024-10-24 11:25hgbotFixed in Version => 24Q4
2024-10-24 11:25hgbotNote Added: 0170884

Notes
(0170801)
hgbot   
2024-10-23 08:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3019 [^]
(0170883)
hgbot   
2024-10-24 11:25   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3019 [^]
(0170884)
hgbot   
2024-10-24 11:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4668324d72ad84ae2775ba00890ac7f7c433e156
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 24-10-2024 09:25:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4668324d72ad84ae2775ba00890ac7f7c433e156 [^]

Fixed ISSUE-56824: Split/Merge coint & bills works for payment method configured in safebox

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/CashupSplitInputs.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitPaymentMethodName/CashupSplitPaymentMethodName.jsx
---