Odoo Help


Replace Header/Footer with external module

on 6/8/14, 2:12 PM 1,874 views

Is it possible to replace the default header and footer with a module like other reports where you can call them in .xml with <report> label?

For example to replace the sale order report,

            string="Sale Order Report"

Wich is the id and model in that case? Thank you

PS: I don't want to use another report engine (aeroo, webkit, etc). I want to replace the rml if it's possible to do.

So, go to settings -> companies -> companies and edit the Header/Footer TAB

on 6/10/14, 6:09 AM

Yes, I know that, but I want to know if it's possible to do the same with a module. Thank you for your answers anyway.

on 6/10/14, 6:11 AM
On 6/11/14, 11:22 AM

- the  "rml_header" is a  field on res.company

- see <!-- Basic Company  --> chapter in the file  base_data.xml of the base module in the openerp server folder for an example

- in order to put rml text  inside a xml file you have to indicate it as text with markup

On 6/10/14, 4:51 AM

The ID is sale.report_sale_order and the model is ir.actions.report.xml

Maybe I don't explain it well. I would like to change the default company header that is included in all reports. Nothing about sale report.

on 6/10/14, 5:50 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/8/14, 2:12 PM
Seen: 1874 times
Last updated: 3/16/15, 8:10 AM