Odoo Help


How to change the reports' header in OpenERP 6.1?

Juan Formoso
on 8/1/14, 6:30 AM 1,421 views

I am trying to change the reports' header in OpenERP version 6.1, I know how to do it through the interface, but I need to find the file where the header's RML code is, and make the changes there. I know this file should be in server/openerp/addons/base/res/ in version 7, but in 6.1?

You can find rml file related module report folder. Let me know if any issue.

on 8/1/14, 6:53 AM

@prakash the module is sale_order, and as you said, I can find the RML file inside the report folder. The problem I was refering to is that from this file I cannot modify the header/footer. It must be another RML file in somewhere in which I can modify the header.

Juan Formoso
on 8/1/14, 8:03 AM

I have just realized that you edited your answer. In which module id the file res_company.py?

Juan Formoso
on 8/1/14, 8:06 AM

In the base module res_company '_get_header' method rml content is added Line no 284.

on 8/1/14, 8:18 AM



| 5 5 7
Bikaner, India

OpenERP Developer at SunARC Technology

On 8/1/14, 6:52 AM

In both version 6.1 and 7 Rml Code available in the


Example Version 6.1 Sale Module Rml File:-



 Settings/Companies/Companies menu (under the Header/Footer tab)

RML Content is available in the res_company.py file in the _get_header method.




@prakash: I dont want to change the main header. But i want to add a new header in sales. How can i add this?

on 11/29/14, 5:35 AM

I tried many ways, but the header is not changing. What is the way to change the header only in sales?

on 11/29/14, 5:36 AM

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

2 follower(s)


Asked: 8/1/14, 6:30 AM
Seen: 1421 times
Last updated: 3/16/15, 8:10 AM