Openbravo Issue Tracking System - POS2
View Issue Details
0052413POS2POSpublic2023-05-10 18:332023-08-24 13:27
cberner 
SABARINATH P 
normalmajorhave not tried
closedunable to reproduce 
5
 
 
marvintm
No
0052413: Quotation completion and refresh results in error loop
Error is shown when a quotation is completed and the application is refreshed. The error shown is this: Cannot read properties of undefined (reading 'map')

It seems the problematic code is this -> https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/master/web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js#L616 [^]

There, ticket.receiptTaxes is undefined.
1. Login WebPOS
2. Click on three dots at the bottom of the ticket, and "New Quotation"
3. Add any product to the ticket then click complete
4. Refresh the application

Check that an error appears. A video has been attached.
No tags attached.
gif quotation under evaluation error.gif (958,624) 2023-05-10 18:33
https://issues.openbravo.com/file_download.php?file_id=18516&type=bug
Issue History
2023-05-10 18:33cbernerNew Issue
2023-05-10 18:33cbernerAssigned To => Retail
2023-05-10 18:33cbernerFile Added: quotation under evaluation error.gif
2023-05-10 18:33cbernerTriggers an Emergency Pack => No
2023-08-24 08:16SABARINATH PAssigned ToRetail => SABARINATH P
2023-08-24 08:17SABARINATH PStatusnew => acknowledged
2023-08-24 09:15SABARINATH PStatusacknowledged => scheduled
2023-08-24 13:27marvintmReview Assigned To => marvintm
2023-08-24 13:27marvintmNote Added: 0153921
2023-08-24 13:27marvintmStatusscheduled => closed
2023-08-24 13:27marvintmResolutionopen => unable to reproduce

Notes
(0153921)
marvintm   
2023-08-24 13:27   
We haven't been able to reproduce this issue:

https://drive.google.com/file/d/1hQ1k2TsJdpJrN-Uvdt4zP1UhrPy0JfkV/view [^]