mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[IMP] account_statement_regex_account_completion: Fix PEP8
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user