Odoo Help


Add some fields in header.rml

on 10/15/13, 9:34 AM 937 views

I want to add company_registry, siret, who is on res_company table, and vat who is on res_partner.

Need change something in common_report_header.py ?

I have try , in header.rml :

        <drawString x="1.3cm" y="24.9cm">R.C.S.:</drawString>
        <drawRightString x="7cm" y="24.9cm">[[ display_company.registry(company.partner_id) or " ]]</drawRightString>
        <drawString x="1.3cm" y="24.5cm">SIRET:</drawString>
        <drawRightString x="7cm" y="24.5cm">[[ company.partner_id.siret or " ]]</drawRightString>
        <drawString x="1.3cm" y="24.1cm">N/id CEE:</drawString>
        <drawRightString x="7cm" y="24.1cm">[[ partner.partner_id.vat or " ]]</drawRightString>

But i don't have the content field on my sales.order.

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: 10/15/13, 9:34 AM
Seen: 937 times
Last updated: 3/16/15, 8:10 AM