diff --git a/dynamic_accounts_report/__manifest__.py b/dynamic_accounts_report/__manifest__.py index 44e08206e..813126115 100644 --- a/dynamic_accounts_report/__manifest__.py +++ b/dynamic_accounts_report/__manifest__.py @@ -21,7 +21,7 @@ ################################################################################ { 'name': 'Odoo17 Dynamic Accounting Reports', - 'version': '17.0.1.0.0', + 'version': '17.0.1.0.1', 'category': 'Accounting', 'summary': "Odoo 17 Accounting Financial Reports,Dynamic Accounting Reports, Dynamic Financial Reports,Dynamic Report Odoo17, Odoo17,Financial Reports, Odoo17 Accounting,Accounting, Odoo Apps", 'description': "This module creates dynamic Accounting General Ledger, Trial" diff --git a/dynamic_accounts_report/models/dynamic_balance_sheet_report.py b/dynamic_accounts_report/models/dynamic_balance_sheet_report.py index 23b1bfc9e..d54b9d0bd 100644 --- a/dynamic_accounts_report/models/dynamic_balance_sheet_report.py +++ b/dynamic_accounts_report/models/dynamic_balance_sheet_report.py @@ -303,13 +303,13 @@ class ProfitLossReport(models.TransientModel): amount = sum(filtered_lines.mapped('debit')) - sum( filtered_lines.mapped('credit')) entries.append({ - 'name': "{} - {}".format(account.root_id.id, account.name), + 'name': "{} - {}".format(account.code, account.name), 'amount': "{:,.2f}".format(amount), }) total += amount else: entries.append({ - 'name': "{} - {}".format(account.root_id.id, account.name), + 'name': "{} - {}".format(account.code, account.name), 'amount': "{:,.2f}".format(0), }) return entries, "{:,.2f}".format(total) diff --git a/dynamic_accounts_report/report/balance_sheet_report_templates.xml b/dynamic_accounts_report/report/balance_sheet_report_templates.xml index 339474cdb..73c7744c7 100644 --- a/dynamic_accounts_report/report/balance_sheet_report_templates.xml +++ b/dynamic_accounts_report/report/balance_sheet_report_templates.xml @@ -6,6 +6,7 @@