[FIX] intrastat_product: typo in filename

This commit is contained in:
Stefan Rijnhart
2022-06-22 15:46:30 +02:00
committed by Alexis de Lattre
parent 325d66435c
commit c678d71a25

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",