diff --git a/advance_cash_flow_statements/__manifest__.py b/advance_cash_flow_statements/__manifest__.py index 96c9e675d..a8ebcabbc 100644 --- a/advance_cash_flow_statements/__manifest__.py +++ b/advance_cash_flow_statements/__manifest__.py @@ -22,7 +22,7 @@ { 'name': 'Advanced Cash Flow Statements', - 'version': '15.0.1.0.0', + 'version': '15.0.1.0.1', 'summary': """Generate four levels of cash flow statement reports in PDF and Excel""", 'description': """Generate four levels of cash flow statement reports in PDF and Excel, pdf report, excel report, cashflow, odoo15""", 'author': "Cybrosys Techno Solutions", diff --git a/advance_cash_flow_statements/wizard/account_wizard.py b/advance_cash_flow_statements/wizard/account_wizard.py index c11535790..9dd60ec61 100644 --- a/advance_cash_flow_statements/wizard/account_wizard.py +++ b/advance_cash_flow_statements/wizard/account_wizard.py @@ -250,7 +250,7 @@ class AccountWizard(models.TransientModel): sheet.write(row_num + 1, col_num + 3, str(i['total_debit'] - i['total_credit']) + str(currency_symbol), amount) row_num = row_num + 1 - elif data['levels'] == 'consolidated': + elif data['levels'] == 'consolidated' and i['name']: sheet.write(row_num + 1, col_num, i['name'], txt_left) sheet.write(row_num + 1, col_num + 1, str(i['total_debit']) + str(currency_symbol), amount) sheet.write(row_num + 1, col_num + 2, str(i['total_credit']) + str(currency_symbol), amount)