mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
product_harmonized_system_delivery: hs_code is now store=True
This commit is the "followup" of the change to company_dependent=False on the fields hs_code_id on product.template and product.category. Add groupby on hs_code_id on product.template search view hs.code is now company_id=False by default
This commit is contained in:
@@ -53,7 +53,7 @@ class HSCode(models.Model):
|
||||
|
||||
@api.model
|
||||
def _default_company_id(self):
|
||||
return self.env.company
|
||||
return False
|
||||
|
||||
@api.depends("local_code")
|
||||
def _compute_hs_code(self):
|
||||
|
||||
Reference in New Issue
Block a user