Code style improvement

This commit is contained in:
ecino
2014-10-29 16:19:18 +01:00
parent 5fa89db115
commit bf9d9fd2a9

View File

@@ -135,7 +135,7 @@ class AccountStatementProfil(orm.Model):
"""
vals = {'profile_id': profile_id}
vals.update(parser.get_st_vals())
if 'balance_start' not in vals.keys():
if 'balance_start' not in vals:
# Get starting balance from journal balance if parser doesn't
# fill this data, simulating the manual flow
statement_obj = self.pool['account.bank.statement']