This question has been flagged
1 Reply
3198 Views

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    


Avatar
Discard
Best Answer

Hi Paulo:

You will need to do 2 things for this:

  1. Customize the report_invoice_document view and use t-set to set custom variables for the invoice number and date.

  2. 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. 

Avatar
Discard
Author

Thank you Paresh,

I thought it was possible to do it without using "header" area.

Thank you once again

Best regards

PM