Browse Source

[FIX] Bug in the formula of the balance column in the Trial Balance XLS report when it is filtered by date

6.1
unknown 11 years ago
committed by Yannick Vaucher
parent
commit
27f84e0d85
  1. 2
      account_financial_report_webkit_xls/__openerp__.py
  2. 4
      account_financial_report_webkit_xls/report/trial_balance_xls.py

2
account_financial_report_webkit_xls/__openerp__.py

@ -21,7 +21,7 @@
############################################################################## ##############################################################################
{ {
'name': 'Add XLS export to accounting reports', 'name': 'Add XLS export to accounting reports',
'version': '0.4',
'version': '0.4.1',
'license': 'AGPL-3', 'license': 'AGPL-3',
'author': 'Noviat', 'author': 'Noviat',
'category': 'Generic Modules/Accounting', 'category': 'Generic Modules/Accounting',

4
account_financial_report_webkit_xls/report/trial_balance_xls.py

@ -219,8 +219,8 @@ class trial_balance_xls(report_xls):
] ]
if _p.comparison_mode == 'no_comparison': if _p.comparison_mode == 'no_comparison':
debit_cell = rowcol_to_cell(row_pos, 3)
credit_cell = rowcol_to_cell(row_pos, 4)
debit_cell = rowcol_to_cell(row_pos, 4)
credit_cell = rowcol_to_cell(row_pos, 5)
bal_formula = debit_cell + '-' + credit_cell bal_formula = debit_cell + '-' + credit_cell
if _p.initial_balance_mode: if _p.initial_balance_mode:

Loading…
Cancel
Save