Odoo Help

Welcome!

This community 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.

0

Add some fields in header.rml

By
Bevlhay FERRAND
on 10/15/13, 9:34 AM 592 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.

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/15/13, 9:34 AM
Seen: 592 times
Last updated: 3/16/15, 8:10 AM