[IMP] stock: added groups to packaging field

Before this commit, packaging field was visible on the stock location
form view even if the packaging configuration set to off.

task-2581265

Part-of: odoo/odoo#74695
This commit is contained in:
Vishal Thacker
2021-11-26 15:10:26 +00:00
committed by svs-odoo
parent ccefd39015
commit e71a9e4494
+2 -2
View File
@@ -204,8 +204,8 @@
<div>
<field name="product_selectable" class="oe_inline"/>
</div>
<label for="packaging_selectable" string="Packagings"/>
<div>
<label for="packaging_selectable" string="Packagings" groups="product.group_stock_packaging"/>
<div groups="product.group_stock_packaging">
<field name="packaging_selectable" class="oe_inline"/>
</div>
</group>