Openbravo Issue Tracking System - POS2
View Issue Details
0051726POS2POSpublic2023-02-28 14:422024-02-14 10:10
lorenzofidalgo 
Retail 
normalmajoralways
closedunable to reproduce 
5
 
 
No
0051726: [23Q1] It is not possible to sell services such as "Gas replacement". An error appears and the flow is blocked
Some services can not be sold. An error is shown and the user flow is blocked.
It has been tested and reproduced with services such as "Gas Replacement" or "Installation Pack".
This issue has been reproduced inside a 23Q1 context. Also in livebuilds POS2 and reproduced also inside VBS-2 and CMS-2 terminals.
0-Login react POS as vallblanca inside VBS-2 terminal.
1-Go to Trekking & Camping section and add 1x "Gas replacement" to the ticket.
2-Click Pay button, select cash and try to pay the ticket. DEFECT: An error with the following message is shown: "Cannot read properties of undefined (reading 'reduce')"
No tags attached.
png NotPossibleSellingServices.png (125,201) 2023-02-28 14:42
https://issues.openbravo.com/file_download.php?file_id=18191&type=bug
png
Issue History
2023-02-28 14:42lorenzofidalgoNew Issue
2023-02-28 14:42lorenzofidalgoAssigned To => Retail
2023-02-28 14:42lorenzofidalgoFile Added: NotPossibleSellingServices.png
2023-02-28 14:42lorenzofidalgoTriggers an Emergency Pack => No
2023-02-28 16:37cbernerNote Added: 0147126
2024-02-14 10:10Daria_ShNote Added: 0160725
2024-02-14 10:10Daria_ShStatusnew => closed
2024-02-14 10:10Daria_ShResolutionopen => unable to reproduce

Notes
(0147126)
cberner   
2023-02-28 16:37   
The real problem here is that we're able to add these services to the ticket. The services mentioned are services marked as "Linked to product", which means, you should only be able to add them to the ticket through the linked product, and not individually/alone.

The products should be filtered from both product keymap and product search. And also, the error shown should be a lot more specific, explaining what's happening.
(0160725)
Daria_Sh   
2024-02-14 10:10   
Tested in livebuilds master (with modules and old packages) and confirmed the issue is no longer reproducible