mrp_usability: Add fields in tree view with optional="hide"

sale_order_route: Add route_id in tree view with optional="hide"
This commit is contained in:
Alexis de Lattre
2022-03-31 21:48:13 +02:00
parent f6b10a7caa
commit b8a6cbcfea
2 changed files with 32 additions and 0 deletions

View File

@@ -29,4 +29,15 @@
</field>
</record>
<record id="mrp_production_tree_view" model="ir.ui.view">
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.mrp_production_tree_view"/>
<field name="arch" type="xml">
<field name="reservation_state" position="after">
<field name="location_src_id" optional="hide" groups="stock.group_stock_multi_locations"/>
<field name="location_dest_id" optional="hide" groups="stock.group_stock_multi_locations"/>
</field>
</field>
</record>
</odoo>