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.

1

How to add one more line?

By
Udari
on 4/11/14, 1:20 AM 1,110 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>

        </place>

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

1

Nehal

--Nehal--
2090
| 5 2 8
Ahmadabad, India
--Nehal--
Nehal
On 4/11/14, 2:11 AM

HI,

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)

Udari
on 4/11/14, 2:22 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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