mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[IMP] mrp_production_hierarchy: Only display root and parent production orders on the form if they exist
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
attrs="{'invisible': [('child_ids', '=', [])]}"/>
|
||||
</div>
|
||||
<field name="origin" position="after">
|
||||
<field name="root_id"/>
|
||||
<field name="parent_id"/>
|
||||
<field name="root_id" attrs="{'invisible': [('root_id', '=', False)]}"/>
|
||||
<field name="parent_id" attrs="{'invisible': [('parent_id', '=', False)]}"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user