Browse Source

Mar 14 : [FIX] Bug Fixed 'advance_cash_flow_statements'

pull/254/head
AjmalCybro 2 years ago
parent
commit
450780ddec
  1. 2
      advance_cash_flow_statements/__manifest__.py
  2. 2
      advance_cash_flow_statements/wizard/account_wizard.py

2
advance_cash_flow_statements/__manifest__.py

@ -22,7 +22,7 @@
{ {
'name': 'Advanced Cash Flow Statements', '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""", '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""", 'description': """Generate four levels of cash flow statement reports in PDF and Excel, pdf report, excel report, cashflow, odoo15""",
'author': "Cybrosys Techno Solutions", 'author': "Cybrosys Techno Solutions",

2
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), sheet.write(row_num + 1, col_num + 3, str(i['total_debit'] - i['total_credit']) + str(currency_symbol),
amount) amount)
row_num = row_num + 1 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, 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 + 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) sheet.write(row_num + 1, col_num + 2, str(i['total_credit']) + str(currency_symbol), amount)

Loading…
Cancel
Save