mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[FIX] intrastat_product: typo in filename
This commit is contained in:
committed by
Alexis de Lattre
parent
325d66435c
commit
c678d71a25
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user