[FIX] project_mrp: prevent crash during installation if stock is not installed; use default view for product coming from the product module that is indeed in the dependencies.
This commit is contained in:
parent
e0759c1350
commit
d4b923aec9
|
@ -14,9 +14,9 @@
|
|||
<record id="view_product_task_form" model="ir.ui.view">
|
||||
<field name="name">product.form.view.inherit</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="stock.view_template_property_form"/>
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<group name="procurement_uom" position="after">
|
||||
<group name="procurement" position="after">
|
||||
<group string="Project Management Information" attrs="{'invisible': [('type', '!=', 'service')]}">
|
||||
<field name="auto_create_task"/>
|
||||
<field name="project_id" attrs="{'invisible':['|', ('type','!=','service'), ('auto_create_task', '=', False)]}"/>
|
||||
|
|
Loading…
Reference in New Issue