Skip to Content
Menu
This question has been flagged
1 Reply
1559 Views

I want to include a specific field(invoice number) in every page of the report. How can I do that?

The field is written inside a table.

Avatar
Discard

Is it to add the 'Invoice Number' on all pages of the Invoice PDF report of Odoo?

Author

Yes bro

Please check the answer by Danilil Digtyar. It is the correct way to do it. You can create a custom module for this and inherit the invoice report template to do this. Or you can also directly edit and add this in the settings(please note that this will only be added in the database you are working and be careful to not get any errors).

Best Answer

You can inherit the report Qweb view and add it by XPath expression in the footer or the div class="page".

https://www.odoo.com/documentation/15.0/developer/reference/backend/views.html#inheritance-specs

Avatar
Discard
Author

Thank you for the answer but what I would like to do is to add a field inside a pdf report on every page.

You can by doing and inherit and adding it to the div class="page"

Related Posts Replies Views Activity
2
Dec 24
3141
1
Dec 24
362
4
Nov 24
1370
1
Sep 24
1139
1
Sep 24
1208