diff options
| author | Achraf (abz) <abz@odoo.com> | 2020-10-09 15:53:32 +0000 |
|---|---|---|
| committer | Achraf (abz) <abz@odoo.com> | 2020-10-12 14:55:59 +0000 |
| commit | 4bc17f78f46ac2c9bc0bc97bc1a29b3da3f26563 (patch) | |
| tree | 0c2af5dbc69f13a3ed985bad5637dd599e32eeb3 /addons/web/static/src/js/views/basic | |
| parent | a98a294f28dc61c0675003f5d5c99335a0303c1b (diff) | |
[FIX] point_of_sale: Send invoice by email with qr_code
Issue
- Install "Point of Sale"
- Enable "Qr Code" in Invoicing
- Open new POS session
- Set random customer
- Try to send the invoice by email
Cause
The 'qr_code_urls' doesnt exist in the dictionary.
Solution
Add 'qr_code_urls' with all generated qr code urls to the dictionary in report.point_of_sale.report_invoice
EDIT:
use `_get_report_values` function of report.account.report_invoice instead of generate all qr code urls
opw-2357088
closes odoo/odoo#59669
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
