تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3707 أدوات العرض

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
يوليو 25
372
2
يوليو 25
560
1
يوليو 25
1622
3
أبريل 25
1683
3
أبريل 25
2698