Openbravo Issue Tracking System - POS2
View Issue Details
0055025POS2POSpublic2024-03-11 13:472024-03-21 22:30
ngarcia 
meriem_azaf 
urgentmajoralways
closedfixed 
5
 
23Q4.423Q4.3 
No
0055025: Cannot edit the prepayment amount of a ticket
Cannot edit the prepayment amount of a ticket:

Cannot read properties of undefined (reading 'field')
In the backoffice (https://livebuilds.openbravo.com/context/pos2_mp_23Q4 [^]):

Set the Allow prepayments and partial payments to Y in "POS2SD VBS POS2 Terminal Type"
Change the Prepayment Percentage and Prepayment Percentage Limit to 50 for Vall Blanca Store organization

In the POS:
https://livebuilds.openbravo.com/context/pos2_mp_23Q4.2/web/pos/?terminal=VBS-2 [^]

Change the customer to Arturo Montoro
Add a product
Click on Receipt properties and change the Delivery Mode to Pickup in Store
Go to Payments and check Prepayment line is shown
Click on the pencil on the right side of the amount to try to edit it
Check the following error is shown:

Cannot read properties of undefined (reading 'field')
Attached is a possible patch
No tags attached.
blocks defect 0054910 closed meriem_azaf Cannot edit the prepayment amount of a ticket 
Issue History
2024-03-21 10:51AugustoMauchTypedefect => backport
2024-03-21 10:51AugustoMauchTarget Version => 23Q4.4
2024-03-21 15:13hgbotNote Added: 0162502
2024-03-21 22:30hgbotResolutionopen => fixed
2024-03-21 22:30hgbotStatusscheduled => closed
2024-03-21 22:30hgbotFixed in Version => 23Q4.3
2024-03-21 22:30hgbotNote Added: 0162527
2024-03-21 22:30hgbotNote Added: 0162528

Notes
(0162502)
hgbot   
2024-03-21 15:13   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1426 [^]
(0162527)
hgbot   
2024-03-21 22:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 9170eda836e5e2ec4cb28dbcd724864d4c0293e3
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 21-03-2024 21:30:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/9170eda836e5e2ec4cb28dbcd724864d4c0293e3 [^]

Fixes ISSUE-55025: Cannot edit the prepayment amount of a ticket

Cannot edit the prepayment amount of a ticket.

---
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/isGridActionsPopover.js
---
(0162528)
hgbot   
2024-03-21 22:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1426 [^]