Openbravo Issue Tracking System - POS2
View Issue Details
0053086POS2POSpublic2023-07-27 10:532023-10-09 14:53
Markel_Iruretagoyena 
SABARINATH P 
normalmajoralways
closedfixed 
5
 
24Q1 
No
0053086: [23Q3] Cannot read properties of undefined error appears in Proof of Payment
If a Proof of Payment already exists, after creating a new one and clicking on "Print Unprinted" option, an error is displayed.

If you reproduce this issue on an iPad the error message will be different. (And the message is not adapted to portrait mode).
1- Login in POS as vallblanca
2- Buy any product you want
3- Go to orders and select the ticket you just created
4- Click on the 3 vertical dots above "Review Payments" and select "Proof of Payment"
5- Click on "Create New" (top right) and select the option "Divide order in equal parts"
6- Select a number higher than 1 from the pop up
7- Select one of the Draft Proof of Payment line and click on "Print", then "Print Selected"
8- Click again in "Print" but this time select the "Print Unprinted" option

Note that an error will appear with "Cannot read properties of undefined (reading 'configuration')"

Also if you reproduce this issue on an iPad the error message will be different
(see attachments)
No tags attached.
png PoP_undefined_Error.png (45,230) 2023-07-27 10:53
https://issues.openbravo.com/file_download.php?file_id=18805&type=bug
png

jpg iPad_Issue.jpg (73,785) 2023-07-27 11:01
https://issues.openbravo.com/file_download.php?file_id=18808&type=bug
jpg
Issue History
2023-07-27 10:53Markel_IruretagoyenaNew Issue
2023-07-27 10:53Markel_IruretagoyenaAssigned To => Retail
2023-07-27 10:53Markel_IruretagoyenaFile Added: PoP_undefined_Error.png
2023-07-27 10:53Markel_IruretagoyenaTriggers an Emergency Pack => No
2023-07-27 11:01Markel_IruretagoyenaFile Added: iPad_Issue.jpg
2023-07-27 11:02Markel_IruretagoyenaDescription Updatedbug_revision_view_page.php?rev_id=26524#r26524
2023-08-22 06:37SABARINATH PAssigned ToRetail => SABARINATH P
2023-08-22 06:37SABARINATH PStatusnew => acknowledged
2023-08-22 06:57SABARINATH PStatusacknowledged => scheduled
2023-10-06 08:37hgbotNote Added: 0155598
2023-10-09 14:53hgbotResolutionopen => fixed
2023-10-09 14:53hgbotStatusscheduled => closed
2023-10-09 14:53hgbotFixed in Version => 24Q1
2023-10-09 14:53hgbotNote Added: 0155693
2023-10-09 14:53hgbotNote Added: 0155694

Notes
(0155598)
hgbot   
2023-10-06 08:37   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2157 [^]
(0155693)
hgbot   
2023-10-09 14:53   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 52a890e47ac6ecac595c960fe51bff1b42bd678e
Author: Sabarinath <sabarinath@qualiantech.com>
Date: 09-10-2023 12:53:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/52a890e47ac6ecac595c960fe51bff1b42bd678e [^]

Fixes ISSUE-53086: Handled undefined error in proof of payment

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLineLowerLimitPrice/TicketLineLowerLimitPrice.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/ProductCharacteristics.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLines/ProductConfiguration.jsx
---
(0155694)
hgbot   
2023-10-09 14:53   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2157 [^]