[13.0] product_harmonized_system: do not require company on hs_code model

product_harmonized_system 14.0.1.0.1
This commit is contained in:
Adrià Gil Sorribes
2021-05-19 10:56:01 +02:00
committed by Víctor Martínez
parent fc423c5943
commit 71f4a3854f
2 changed files with 1 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
{ {
"name": "Product Harmonized System Codes", "name": "Product Harmonized System Codes",
"version": "14.0.1.0.0", "version": "14.0.1.0.1",
"category": "Reporting", "category": "Reporting",
"license": "AGPL-3", "license": "AGPL-3",
"summary": "Base module for Product Import/Export reports", "summary": "Base module for Product Import/Export reports",

View File

@@ -34,8 +34,6 @@ class HSCode(models.Model):
company_id = fields.Many2one( company_id = fields.Many2one(
"res.company", "res.company",
string="Company", string="Company",
readonly=True,
required=True,
default=lambda self: self._default_company_id(), default=lambda self: self._default_company_id(),
) )
product_categ_ids = fields.One2many( product_categ_ids = fields.One2many(