Skip to Content
Menu
This question has been flagged
2 Replies
2893 Views

Hi

How Can I add "PO number" to Customer Invoice? I have created new field "PO Number" on the Invoice form but do ot know how to inlcude it on Invoice. Somewhere on top below Customer details close to Invoice date above line Items.


I have tried to create a new template but it seems complex was wondering if there was an easy solution.


Anurag

Avatar
Discard
Best Answer

Try this.

<record id="custom_invoice_form" model="ir.ui.view">
  <field name="name">account.invoice.custom</field>
  <field name="model">account.invoice</field>
  <field name="inherit_id" ref="account.invoice_form" />
  <field name="arch" type="xml">
  <xpath expr="//field[@name='partner_id']" position="after">
                    <field name="insert_your_field_here" />
  </xpath>
  </field>
 </record>
Avatar
Discard
Related Posts Replies Views Activity
1
Sep 24
234
2
Aug 24
358
3
Jul 24
2393
1
Jul 24
363
2
Jun 24
456