Openbravo Issue Tracking System - POS2
View Issue Details
0053199POS2POSpublic2023-08-10 13:232023-08-11 07:32
0053199: Cannot login after refreshing the POS having a closed receipt opened
Cannot login after refreshing the POS having a closed receipt opened
1) Login in the pos
2) Navigate to the Orders window and open an order
3) Refresh the browser (F5)
4) After that is not possible to access to the application (see attached)
The error is caused by the function updateSalesRepOfDraftTicket[1]. The execution of this function ends up invoking the ticket hooks that recalculate the taxes of the ticket, which in some cases may throw an OB.App.Class.TaxEngineError causing the problem.

According to the function name shouldn't this function perform no action if the ticket is not a draft Ticket?

[1] [^]
No tags attached.
png loginError.png (22,601) 2023-08-10 13:23
Issue History
2023-08-10 13:23caristuNew Issue
2023-08-10 13:23caristuAssigned To => Triage Platform Base
2023-08-10 13:23caristuFile Added: loginError.png
2023-08-10 13:23caristuTriggers an Emergency Pack => No
2023-08-10 13:23caristuProposed Solution updated
2023-08-10 13:25caristuAssigned ToTriage Platform Base => Retail
2023-08-10 13:25caristuCategoryCore => POS
2023-08-10 15:06Rajesh_18Assigned ToRetail => Rajesh_18
2023-08-10 15:06Rajesh_18Statusnew => scheduled
2023-08-11 07:32hgbotNote Added: 0153436

2023-08-11 07:32   
Merge Request created: [^]