Odoo Help


How to add one more line?

on 4/11/14, 1:20 AM 1,435 views

I need to change the format of invoices. I managed to do some changes to header/footer by Settings-> Company-> header/footer. I need to add one more text line but i couldn't. it is overlapping with another text.

This is the change done by me.

<lines>1.3cm 27.7cm 20cm 27.7cm</lines>

        <drawRightString x="20cm" y="27.8cm">[[ company.rml_header1 ]]</drawRightString>

        <drawString x="1.3cm" y="27.3cm">[[ company.partner_id.name ]]</drawString>

        <place x="1.3cm" y="25.3cm" height="1.8cm" width="15.0cm">

            <para style="main_header">[[ display_address(company.partner_id) or  '' ]]</para>


        <drawString x="1.3cm" y="25.0cm">Phone:</drawString>

        <drawRightString x="7cm" y="25.0cm">[[ company.partner_id.phone or '' ]]</drawRightString>

        <drawString x="1.3cm" y="24.6cm">Mail:</drawString>

        <drawRightString x="7cm" y="24.6cm">[[ company.partner_id.email or '' ]]</drawRightString>

       <drawLeftString x="1.3cm" y="24.6cm">Our VAT Reg No : </drawLeftString>

        <lines>1.3cm 24.5cm 7cm 24.5cm</lines>

I need to add VAT number after the company details in page header.

On 4/11/14, 2:11 AM


Try the following :

<drawstring x="1.3cm" y="24.6cm">Mail:</drawstring> <drawrightstring x="7cm" y="24.6cm">[[ company.partner_id.email or '' ]]</drawrightstring> <drawstring x="1.3cm" y="24.2cm">Our VAT Reg No : </drawstring>

Thanks Nehal, That worked (y)

on 4/11/14, 2:22 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

0 follower(s)


Asked: 4/11/14, 1:20 AM
Seen: 1435 times
Last updated: 3/16/15, 8:10 AM