diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-10-30 11:18:06 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-11-03 14:27:24 +0100 |
| commit | 4b72944bbaf81f224d8b50b01237faa6d80d911a (patch) | |
| tree | e6951667533a2a98bbb83cd19c72c977da194010 /addons/web/static/src | |
| parent | 8360daa05765666b3486e8d8549cb1a749089692 (diff) | |
[FIX] point_of_sale: fix invoice download and receipt printing
When opening the POS in this specific case:
- Under Mozilla Firefox
- auto printing the receipt is True
- invoicing is True
Before this commit, when issuing an invoice for a customer, a Traceback was thrown to the user and the invoice was not downloaded.
This was because the invoiced parameter resolved before the printing action was.
After this commit, we constain the invoiced parameter to be resolved when the action returns.
There is no traceback, and the invoice is downloaded
OPW 777647
closes #20570
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
