[IMP] mrp: manufacturing order layout improvement

this commit hides the 'Miscellaneous' tab in MO form view if its content
is empty in order to improve the user interface.

PR:22085
TASK:38933
This commit is contained in:
Prakash Prajapati
2018-07-26 15:22:33 +02:00
committed by Simon Lejeune
parent 578427114b
commit 996c881ce3
+1 -1
View File
@@ -147,7 +147,7 @@
Use the Produce button or process the work orders to create some finished products.
</p>
</page>
<page string="Miscellaneous">
<page string="Miscellaneous" groups="stock.group_stock_multi_locations, base.group_no_one">
<group>
<group groups="stock.group_stock_multi_locations">
<field name="picking_type_id" domain="[('code', '=', 'mrp_operation')]" attrs="{'readonly': [('has_moves', '=', True)]}"/>