Skip to content

Commit

Permalink
Merge PR OCA#1245 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 29, 2024
2 parents bca5ce4 + 0d832f4 commit 3f5276e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions account_financial_report/report/aged_partner_balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ def _get_report_values(self, docids, data):
)._calculate_percent(aged_partner_data)
return {
"doc_ids": [wizard_id],
"doc_model": "open.items.report.wizard",
"docs": self.env["open.items.report.wizard"].browse(wizard_id),
"doc_model": "aged.partner.balance.report.wizard",
"docs": self.env["aged.partner.balance.report.wizard"].browse(wizard_id),
"company_name": company.display_name,
"currency_name": company.currency_id.name,
"date_at": date_at,
Expand Down
4 changes: 2 additions & 2 deletions account_financial_report/report/vat_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ def _get_report_values(self, docids, data):
)
return {
"doc_ids": [wizard_id],
"doc_model": "open.items.report.wizard",
"docs": self.env["open.items.report.wizard"].browse(wizard_id),
"doc_model": "vat.report.wizard",
"docs": self.env["vat.report.wizard"].browse(wizard_id),
"company_name": company.display_name,
"currency_name": company.currency_id.name,
"date_to": data["date_to"],
Expand Down

0 comments on commit 3f5276e

Please sign in to comment.