[IMP] stock: added attrs in removal strategy field
In this commit: ================== Invisible the 'Removal strategy' field when selecting the other location type except Internal location. task-3555853 closes odoo/odoo#157888 X-original-commit: f24a77d073d609b03c0ff686f843db10218ad1b7 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<field name="next_inventory_date" invisible="not active"/>
|
||||
</group>
|
||||
<group string="Logistics" groups="stock.group_adv_location">
|
||||
<field name="removal_strategy_id" options="{'no_create': True}"/>
|
||||
<field name="removal_strategy_id" options="{'no_create': True}" invisible="usage in ('supplier', 'customer', 'inventory', 'production') or scrap_location or usage == 'transit' and not company_id"/>
|
||||
</group>
|
||||
</group>
|
||||
<field name="comment" placeholder="External note..."/>
|
||||
|
||||
Reference in New Issue
Block a user