Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I've modified the header and footer in Settings -> Companies -> My Company -> Report Configuration
When I click Preview Header/Footer the PDF file shows my expected modifications.
However when I create a quote or sale report it still has the old (Odoo default) header and footer.
I've check the sale reports templates but as far as I can tell they should be inheriting the header and footer from the company configuration. There are no errors in the Odoo logfile.
What am I doing wrong? Why aren't my custom header/footer template changes applying to the quote/sale PDF reports?
Ok, solved my own problem. The issue is that Quote/Sale orders do not use the Company-level report header/footer configuration.
To edit the header and footer for Quote/Sale orders you need to edit the QWeb view. Here is how to do this:
- Settings > Technical > User Interface > Views
- Search for "external"
- You will see report.external_layout, report.external_layout_header and report.external_layout_footer
- Edit these views as appropriate to modify the PDF version of the Quote/Sales orders
Maybe this is obvious to others, but I couldn't find any documentation explaining how this works.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/4/14, 12:47 PM|
|Seen: 2582 times|
|Last updated: 4/23/15, 11:49 AM|