Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3755 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
juil. 25
550
2
juil. 25
702
1
juil. 25
1753
3
avr. 25
1781
3
avr. 25
2809