Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
6 ตอบกลับ
6840 มุมมอง

hi, im trying to inheit the customer invoice view but its the supplier invoice form thats shown:

<field name="inherit_id" ref="account.invoice_form"/>

????

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

 problem solved :) 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

hi 

i think you should refer the form in your action like this :

<field name="view_id" ref="account.invoice_form"/>

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

im doing like this but im always getting the supplier form!!!!!!!!!!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

For Customer Invoice:

<field name="inherit_id" ref="account.invoice_form"/>

For Supplier Invoice :

<field name="inherit_id" ref="account.invoice_supplier_form"/>
อวตาร
ละทิ้ง
ผู้เขียน

im doing like this but im always getting the supplier form!!!!!!!!!!

Can u post your xml code ?

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ม.ค. 24
13925
3
พ.ย. 24
3616
2
ส.ค. 15
6183
0
มี.ค. 25
1106
2
มิ.ย. 20
6178