Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3729 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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>
Ảnh đại diện
Huỷ bỏ
Tác giả

thanks

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
431
2
thg 7 25
610
1
thg 7 25
1688
3
thg 4 25
1720
3
thg 4 25
2732