コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3727 ビュー

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

アバター
破棄
最善の回答

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>
アバター
破棄
著作者

thanks

関連投稿 返信 ビュー 活動
1
7月 25
419
2
7月 25
601
1
7月 25
1683
3
4月 25
1717
3
4月 25
2730