Merge PR #196 into 14.0

Signed-off-by luc-demeyer
This commit is contained in:
OCA-git-bot
2022-11-13 19:14:54 +00:00

View File

@@ -45,7 +45,7 @@ class IntrastatProductDeclarationXlsx(models.AbstractModel):
"header": {"type": "string", "value": self._("Product C/O Code")}, "header": {"type": "string", "value": self._("Product C/O Code")},
"line": { "line": {
"type": "string", "type": "string",
"value": self._render("line.product_origin_country_id.code or ''"), "value": self._render("line.product_origin_country_code"),
}, },
"width": 28, "width": 28,
}, },
@@ -72,7 +72,7 @@ class IntrastatProductDeclarationXlsx(models.AbstractModel):
}, },
"line": { "line": {
"type": "string", "type": "string",
"value": self._render("line.src_dest_country_id.code"), "value": self._render("line.src_dest_country_code"),
}, },
"width": 28, "width": 28,
}, },
@@ -83,7 +83,7 @@ class IntrastatProductDeclarationXlsx(models.AbstractModel):
}, },
"line": { "line": {
"type": "string", "type": "string",
"value": self._render("line.src_dest_country_code"), "value": self._render("line.src_dest_country_id.name or ''"),
}, },
"width": 28, "width": 28,
}, },