Skip to content
Snippets Groups Projects
Commit 4bc17f78 authored by Achraf (abz)'s avatar Achraf (abz)
Browse files

[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: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent a98a294f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment