mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[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:
committed by
Víctor Martínez
parent
fc423c5943
commit
71f4a3854f
@@ -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",
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user