Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/26/14, 11:24 PM|
|Seen: 3376 times|
|Last updated: 10/6/16, 12:09 AM|