[FIX]account_financial_report_webkit: pep8
parent
8e76fe6e61
commit
78bb7af017
|
@ -296,11 +296,14 @@ class CommonBalanceReportHeaderWebkit(CommonReportHeaderWebkit):
|
||||||
elif account.type == 'view':
|
elif account.type == 'view':
|
||||||
to_display_accounts.update(
|
to_display_accounts.update(
|
||||||
dict([(a.id, True) for a in account.child_id]))
|
dict([(a.id, True) for a in account.child_id]))
|
||||||
debit_accounts['account_id'] = accounts_by_ids[account.id]['debit']
|
debit_accounts['account_id'] = \
|
||||||
credit_accounts['account_id'] = accounts_by_ids[account.id]['credit']
|
accounts_by_ids[account.id]['debit']
|
||||||
balance_accounts['account_id'] = accounts_by_ids[account.id]['balance']
|
credit_accounts['account_id'] = \
|
||||||
init_balance_accounts[account.id] = accounts_by_ids[
|
accounts_by_ids[account.id]['credit']
|
||||||
account.id].get('init_balance', 0.0)
|
balance_accounts['account_id'] = \
|
||||||
|
accounts_by_ids[account.id]['balance']
|
||||||
|
init_balance_accounts[account.id] = \
|
||||||
|
accounts_by_ids[account.id].get('init_balance', 0.0)
|
||||||
|
|
||||||
# if any amount is != 0 in comparisons, we have to display the
|
# if any amount is != 0 in comparisons, we have to display the
|
||||||
# whole account
|
# whole account
|
||||||
|
|
Loading…
Reference in New Issue