When creating a module for Odoo, does the order of the files in the manifest file matter? For example, if I'm creating fields via data files, do those files have to come before the any view data files if the views reference the new fields?
Let's say there is a file view.xml, and the view has the following arch:
<field name="name" position="after">
<field name="x_new_field">
</field>
Then there is another data file called 'field.xml' that creates x_new_field.
In the __manifest__.py file, will this work:
"data": [
'view.xml',
'field.xml'
]
Or does the field have to come first so that the view can properly refer to it?
Similarly, what if a field being added contains a compute method that reference another field being added. Do the order of the fields in the manifest file matter? In which situations does the order matter, and it which situations does it not?