[IMP] account_statement_regex_account_completion: Fix PEP8

This commit is contained in:
Pedro M. Baeza
2014-08-04 17:57:26 +02:00
parent 66af054fa3
commit d64122c923
3 changed files with 32 additions and 30 deletions

View File

@@ -44,12 +44,14 @@ class AccountStatementCompletionRule(Model):
res = super(AccountStatementCompletionRule, self)._get_functions(
cr, uid, context=context)
res.append(('set_account',
'Set account for line labels matching a regular expression'))
'Set account for line labels matching a regular '
'expression'))
return res
_columns = {
'regex': fields.char('Regular Expression', size=128),
'account_id': fields.many2one('account.account', string="Account to set"),
'account_id': fields.many2one('account.account',
string="Account to set"),
}
def set_account(self, cr, uid, id, st_line, context=None):