diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-05-06 13:05:42 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-05-06 13:05:42 +0000 |
| commit | b3864b8b4a6492493266846bbd66b9a0c836450e (patch) | |
| tree | 015dc82617295f7d8ba5013e6279aea39aa3ef84 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | fb5015d5fceacb4da7f3a0527a61f28867656e0c (diff) | |
[FIX] point_of_sale: connection failure right before pdf download
ONLINE:
make an order, chose a customer, click on "invoice"
Make the payment, validate
Just **before** the request to download the pdf of the invoice
go OFFLINE
(to achieve this, just put a debugger before the do_action() fires, and kill the server)
Before this commit, the button validate on the payment screen stayed inactive forever
This was because the deferred representing the invoicing flow was still pending
After this commit, we handle the case to invite the waiter to print the invoice
from the backend
OPW 1972301
closes odoo/odoo#33188
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
