Skip to content

Commit

Permalink
[IMP] account_financial_report: VAT report fields translation
Browse files Browse the repository at this point in the history
  • Loading branch information
toita86 committed May 21, 2024
1 parent 02ce3bf commit cdaa3ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion account_financial_report/report/vat_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,11 @@ def _get_report_values(self, docids, data):
"currency_name": company.currency_id.name,
"date_from": date_from,
"date_to": date_to,
"based_on": data["based_on"],
"based_on": dict(
self.env["vat.report.wizard"]
._fields["based_on"]
._description_selection(self.env)
).get(data["based_on"]),
"tax_detail": data["tax_detail"],
"vat_report": vat_report,
}
Expand Down

0 comments on commit cdaa3ca

Please sign in to comment.