You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I download an invoice via Print -> Invoices, the facturx data is correctly inserted into the PDF. If I want to send an invoice by e-mail, no data is inserted into the PDF. The attachment in the e-mail does not contain any facturx data.
How can I ensure that the invoices sent by e-mail contain the correct data?
Steps to reproduce the behavior:
Install the modules account_einvoice_generate and account_invoice_facturx with the default settings
compare the PDFs that are to be sent by mail and those that are to be printed
Expected behavior
The PDF in the mail attachment should include the facturx data
The text was updated successfully, but these errors were encountered:
When I go to Print -> Invoices, the variable “report_ref” in the method models/ir_actions_report.py:_render_qweb_pdf_prepare_streams is a string with the content “account.report_invoice_with_payments”. If I use the “Send & print” button, I get a model “ir.actions.report(202,)” for the variable. The check “and report_ref in invoice_reports” then fails with error: “UserWarning: unsupported operand type(s) for ‘==’: ‘ir.actions.report()’ == ‘’account.report_invoice_with_payments‘’”.
For now I solved it with:
if not isinstance(report_ref, str):
report_ref = report_ref.report_name
Module
account_invoice_facturx
Describe the bug
When I download an invoice via Print -> Invoices, the facturx data is correctly inserted into the PDF. If I want to send an invoice by e-mail, no data is inserted into the PDF. The attachment in the e-mail does not contain any facturx data.
How can I ensure that the invoices sent by e-mail contain the correct data?
Steps to reproduce the behavior:
Expected behavior
The PDF in the mail attachment should include the facturx data
The text was updated successfully, but these errors were encountered: