mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
fix get_hs_code_recurively
This commit is contained in:
@@ -26,5 +26,5 @@ class ProductCategory(models.Model):
|
||||
elif self.parent_id:
|
||||
res = self.parent_id.get_hs_code_recursively()
|
||||
else:
|
||||
res = None
|
||||
res = self.env['hs.code']
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user