Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045393Retail ModulesWeb POSpublic2020-06-25 17:202020-11-09 07:30
caristu 
prakashmurugesan88 
normalmajorhave not tried
closedfixed 
5
 
RR20Q3.2RR20Q3.2 
No
0045393: WebPOS gets stuck after changing the customer of the ticket
Depending on the configuration, WebPOS gets stuck after changing the customer of the ticket.
1) Login in the following terminal: https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=MPL1 [^]
2) Configure the "OBPOS_remove_ticket" permission to be true for that terminal (OB.MobileApp.model.get('permissions').OBPOS_remove_ticket=true)
3) Add a new line to the ticket
4) Change the customer, selecting a different from the current one, for example "Bryan Raymond"
5) After selecting the new customer, the terminal gets stuck (see attached screenshot)
No tags attached.
blocks defect 0044495 closed ranjith_qualiantech_com WebPOS gets stuck after changing the customer of the ticket 
Issue History
2020-11-09 07:20marvintmTypedefect => backport
2020-11-09 07:20marvintmTarget Version => RR20Q3.2
2020-11-09 07:22prakashmurugesan88Assigned Toranjith_qualiantech_com => prakashmurugesan88
2020-11-09 07:26prakashmurugesan88Note Added: 0124229
2020-11-09 07:30hgbotResolutionopen => fixed
2020-11-09 07:30hgbotStatusscheduled => closed
2020-11-09 07:30hgbotFixed in Version => RR20Q3.2
2020-11-09 07:30hgbotNote Added: 0124230

Notes
(0124229)
prakashmurugesan88   
2020-11-09 07:26   
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/156 [^]
(0124230)
hgbot   
2020-11-09 07:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d1064f63039b4bec74ed9cb386e7eca8a5924672
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-09T11:54:53+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d1064f63039b4bec74ed9cb386e7eca8a5924672 [^]

Fixed BUG-45393: Web POS hangs when changing to a customer with another price list
* This is because process 'deleteLine' is not finished
* Callback that executed 'deleteLine' finish is not called after calculateGross
* Fixed by calling callback after calculateGross

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---