[FIX] intrastat_product: typo in filename

intrastat_product 14.0.1.6.2
This commit is contained in:
Stefan Rijnhart
2022-06-22 15:46:30 +02:00
committed by Víctor Martínez
parent ba70ead677
commit fe3c1bc401
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
{
"name": "Intrastat Product",
"version": "14.0.1.6.1",
"version": "14.0.1.6.2",
"category": "Intrastat",
"license": "AGPL-3",
"summary": "Base module for Intrastat Product",

View File

@@ -978,9 +978,9 @@ class IntrastatProductDeclaration(models.Model):
def create_xls(self):
if self.env.context.get("computation_lines"):
report_file = "instrastat_transactions"
report_file = "intrastat_transactions"
else:
report_file = "instrastat_declaration_lines"
report_file = "intrastat_declaration_lines"
return {
"type": "ir.actions.report",
"report_type": "xlsx",