Can't find field 'move_id' in the following view parts composing the view of object model 'account.invoice'
I have an error when i sort fields on Supplier Invoice screen. This is my code:
" <field name="move_id" position="replace"/> <field name="name" position="after"> <field name="move_id"/> </field> "
But i receive error: " View error
Can't find field 'move_id' in the following view parts composing the view of object model 'account.invoice': * account.invoice.supplier.form * account.invoice.supplier.form
Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model "
Please help me solve this error.
move_id does not exist in any of the default tree views that display invoices.
<field name="move_id" position="replace"/>
is causing the error, because that line of your XML is instructing OpenERP to replace a field that isn't in the view in the first place.
The same information in move_id is already shown in the default view. It is the field with the heading Number
<field name="name" position="after"> <field name="move_id"/> </field>
would be just duplicate the information from a field that is already shown!
Since you can already sort the number field, what are you trying to do that you can't do with that field?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/16/14, 12:54 AM|
|Seen: 1975 times|
|Last updated: 3/16/15, 8:10 AM|