Hello everyone,
I am using Odoo 12 and need to print invoice information (invoice number and date) and customer address on every report page.
I am using standard Odoo tempates for invoices.
Can anyone help me achieve that?
Thank you very much
PM
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello everyone,
I am using Odoo 12 and need to print invoice information (invoice number and date) and customer address on every report page.
I am using standard Odoo tempates for invoices.
Can anyone help me achieve that?
Thank you very much
PM
Hi Paulo:
You will need to do 2 things for this:
Customize the report_invoice_document view and use t-set to set custom variables for the invoice number and date.
Customize one of the web.external_layout.... views (depending on which layout has been selected at your site - most probably web.external_layout_standard) and print the values of these 2 variables inside the <header> section.
Thank you Paresh,
I thought it was possible to do it without using "header" area.
Thank you once again
Best regards
PM
See this: https://learnopenerp.blogspot.com/2018/10/how-to-add-custom-header-and-footer-in-qweb-reports-in-odoo.html