Openbravo Issue Tracking System - POS2
View Issue Details
0055024POS2POSpublic2024-03-11 13:472024-03-21 22:30
ngarcia 
meriem_azaf 
urgentmajoralways
closedfixed 
5
 
24Q1.224Q1.1 
No
0055024: 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 => 24Q1.2
2024-03-21 15:16hgbotNote Added: 0162503
2024-03-21 22:30hgbotResolutionopen => fixed
2024-03-21 22:30hgbotStatusscheduled => closed
2024-03-21 22:30hgbotFixed in Version => 24Q1.1
2024-03-21 22:30hgbotNote Added: 0162525
2024-03-21 22:30hgbotNote Added: 0162526

Notes
(0162503)
hgbot   
2024-03-21 15:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1427 [^]
(0162525)
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: 7cf947042ecc9af4219e4a448dc76549e496f160
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 21-03-2024 21:30:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/7cf947042ecc9af4219e4a448dc76549e496f160 [^]

Fixes ISSUE-55024: 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
---
(0162526)
hgbot   
2024-03-21 22:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1427 [^]