stock_usability: add removal strategy in location tree view (optional)

This commit is contained in:
Alexis de Lattre
2022-12-10 15:40:34 +00:00
parent 62627a63a6
commit 4aaee98c43

View File

@@ -43,6 +43,16 @@
</field>
</record>
<record id="view_location_tree2" model="ir.ui.view">
<field name="model">stock.location</field>
<field name="inherit_id" ref="stock.view_location_tree2"/>
<field name="arch" type="xml">
<field name="storage_category_id" position="after">
<field name="removal_strategy_id" optional="hide"/>
</field>
</field>
</record>
<!-- By default, the menu entry for stock location is only under
Configuration > Warehouse management
But, the view of stock location is very useful to be able to list