Hi .
I want to create a view to move fields in sale view .
I have plenty of modules which modify the product view in sales.
I would like my custom view will be all the time the last to modify the product view is it possible?
For example i want to hide a page (variants) but when i do that :
<record id="product_template_inherited_variants_repalce_form2" model="ir.ui.view">
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<xpath expr="//notebook/page[@name='variants']" position="replace"/>
</field>
</record>
A module after need this page to add things so i have an error :
ValueError: Element '<field name="attribute_line_ids">' cannot be located in parent view
So the best thing is to be the last for modifying this view. Is it possible to define that?
I can t inherit of all module , because i will add new modules soon for sure :(
Thanks a lot for your answer
Perfect Paresh it works.
Thanks a lot !
Great. Please click the check mark next to the answer to mark it as resolved.