[FIX] translation not loaded

This commit is contained in:
Andrea
2020-08-05 12:13:03 +02:00
committed by chaule97
parent 3a55e90a92
commit 8cb94660e0
26 changed files with 120 additions and 1 deletions

View File

@@ -159,6 +159,7 @@ class AgedPartnerBalanceWizard(models.TransientModel):
"account_ids": self.account_ids.ids,
"partner_ids": self.partner_ids.ids,
"show_move_line_details": self.show_move_line_details,
"account_financial_report_lang": self.env.lang,
}
def _export(self, report_type):

View File

@@ -310,6 +310,7 @@ class GeneralLedgerReportWizard(models.TransientModel):
"centralize": self.centralize,
"fy_start_date": self.fy_start_date,
"unaffected_earnings_account": self.unaffected_earnings_account.id,
"account_financial_report_lang": self.env.lang,
}
def _export(self, report_type):

View File

@@ -127,6 +127,7 @@ class JournalLedgerReportWizard(models.TransientModel):
"sort_option": self.sort_option,
"group_option": self.group_option,
"with_account_name": self.with_account_name,
"account_financial_report_lang": self.env.lang,
}
def _export(self, report_type):

View File

@@ -183,6 +183,7 @@ class OpenItemsReportWizard(models.TransientModel):
"target_move": self.target_move,
"account_ids": self.account_ids.ids,
"partner_ids": self.partner_ids.ids or [],
"account_financial_report_lang": self.env.lang,
}
def _export(self, report_type):

View File

@@ -288,6 +288,7 @@ class TrialBalanceReportWizard(models.TransientModel):
"hide_parent_hierarchy_level": self.hide_parent_hierarchy_level,
"show_partner_details": self.show_partner_details,
"unaffected_earnings_account": self.unaffected_earnings_account.id,
"account_financial_report_lang": self.env.lang,
}
def _export(self, report_type):

View File

@@ -113,6 +113,7 @@ class VATReportWizard(models.TransientModel):
"based_on": self.based_on,
"only_posted_moves": self.target_move == "posted",
"tax_detail": self.tax_detail,
"account_financial_report_lang": self.env.lang,
}
def _export(self, report_type):