This question has been flagged
6 Replies
5146 Views

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"/>

????

Avatar
Discard
Best Answer

 problem solved :) 

Avatar
Discard
Best Answer

hi 

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

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

Avatar
Discard
Author Best Answer

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

Avatar
Discard
Best Answer

Hi,

For Customer Invoice:

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

For Supplier Invoice :

<field name="inherit_id" ref="account.invoice_supplier_form"/>
Avatar
Discard
Author

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

Can u post your xml code ?