Odoo Help


Can I change the format of invoices?

on 3/19/14, 2:29 AM 1,146 views

can I change the format of an invoice? can I do it by changing the coding?

Which type of changes you want do ?

Jagdish Panchal
on 3/19/14, 2:34 AM

I need to add and remove some fields and change the headings.

on 3/19/14, 2:38 AM

Jagdish Panchal

--Jagdish Panchal--
Jagdish Panchal
| 5 4 6
Gandhinagar, India
--Jagdish Panchal--

OpenERP Developer

Jagdish Panchal
On 3/19/14, 2:49 AM


Add this code in py file in your new module to add new field.

 class account_invoice(osv.osv):

    _inherit = "account.invoice"

    _columns = {

            'test_name' : fields.char('Test name', size='120'),


Add in xml file in new module to add new field.

    <record id="inherit_invoice_form" model="ir.ui.view">
        <field name="name">account.invoice.form.inherit</field>
        <field name="model">account.invoice</field>
        <field name="inherit_id" ref="account.invoice_supplier_form"/>
        <field name="arch" type="xml">
            <field name="account_id" position="after">
                <field name="test_name"/>

Try this


Thanks jack :)

on 3/19/14, 3:03 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 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: 3/19/14, 2:29 AM
Seen: 1146 times
Last updated: 3/16/15, 8:10 AM