[FIX] stock: add company_id to package type view

We didn't show company_id on package type view, there was no way to
change it. Add it in this commit.
Also made company_id on stock_storage_category form not visible when not
in multi-company.

X-original-commit: 61792e9dc13bf9d326e69eb59efe3a22354f1ca5
Part-of: odoo/odoo#80519
This commit is contained in:
yhu-odoo
2021-11-30 14:31:06 +00:00
parent 152cb2a9f2
commit b9b7bde33d
2 changed files with 2 additions and 1 deletions
@@ -28,6 +28,7 @@
<span><field name="weight_uom_name"/></span>
</div>
<field name="barcode"/>
<field name="company_id" groups="base.group_multi_company"/>
</group>
</group>
<group name="storage_categories" groups="stock.group_stock_storage_categories">
@@ -20,7 +20,7 @@
<field name="max_weight"/>
<span>kg</span>
</div>
<field name="company_id"/>
<field name="company_id" groups="base.group_multi_company"/>
</group>
</group>
<notebook>