Browse Source

[MRG] [FIX] account_financial_report_webkit: fixed issue where opening balance would not be shown on the general ledger

6.1
unknown 11 years ago
committed by Alexandre Fayolle
parent
commit
f0409982a5
  1. 2
      account_financial_report_webkit/report/general_ledger.py

2
account_financial_report_webkit/report/general_ledger.py

@ -104,6 +104,8 @@ class GeneralLedgerWebkit(report_sxw.rml_parse, CommonReportHeaderWebkit):
accounts = self.get_all_accounts(new_ids, exclude_type=['view'])
if initial_balance_mode == 'initial_balance':
init_balance_memoizer = self._compute_initial_balances(accounts, start, fiscalyear)
elif initial_balance_mode == 'opening_balance':
init_balance_memoizer = self._read_opening_balance(accounts, start)
ledger_lines_memoizer = self._compute_account_ledger_lines(accounts, init_balance_memoizer,
main_filter, target_move, start, stop)

Loading…
Cancel
Save