[IMP] stock: make package type demo data company agnostic

By setting a company on the package type, this makes it so the package
type isn't selectable for packages without a company (i.e. Put in Pack
without validating a picking = package without a company). For the sake
of demos, let's make it so any company can use these package types.

Task: 2623434
ENT PR: odoo/enterprise#21179

closes odoo/odoo#77597

X-original-commit: 7ec72c3d838dd40aad921b65b998b68c59225e01
Related: odoo/enterprise#21349
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Signed-off-by: Tiffany Chang <tic@odoo.com>
This commit is contained in:
Tiffany Chang (tic)
2021-10-05 15:40:45 +00:00
parent a452cef18f
commit 9b4ed37b41
-2
View File
@@ -14,7 +14,6 @@
<record id="package_type_01" model="stock.package.type">
<field name="name">Pallet</field>
<field name="barcode">PAL</field>
<field name="company_id" ref="base.main_company"/>
<field name="max_weight">4000</field>
<field name="width">800</field>
<field name="height">130</field>
@@ -24,7 +23,6 @@
<record id="package_type_02" model="stock.package.type">
<field name="name">Box</field>
<field name="barcode">BOX</field>
<field name="company_id" ref="base.main_company"/>
<field name="max_weight">30</field>
<field name="width">362</field>
<field name="height">374</field>