I have two modules, first module add a field in sale.order.line using xpath :
<record id="view_order_property_form_view" model="ir.ui.view">
<field name="name">sale.order.property.form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="/form/sheet/notebook/page[@string='Order Lines']/field[@name='order_line']/tree/field[@name='product_id']" position="after">
<field name="property_id" on_change="onchange_property_id(property_id)" domain="[('state','=','for_sale'),('availability','=','available')]"/>
</xpath>
</field> </record>
I want to modify the domain in field property_id using second module without modifying the first module. Is it possible? If it is possible, how to do it?
Thanks in advance.