mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
PEP-8
This commit is contained in:
@@ -109,7 +109,6 @@ class AccountStatementProfil(Model):
|
|||||||
:param int/long statement_id: ID of the concerned account.bank.statement
|
:param int/long statement_id: ID of the concerned account.bank.statement
|
||||||
:return: dict of vals that will be passed to create method of statement line.
|
:return: dict of vals that will be passed to create method of statement line.
|
||||||
"""
|
"""
|
||||||
statement_obj = self.pool.get('account.bank.statement')
|
|
||||||
statement_line_obj = self.pool['account.bank.statement.line']
|
statement_line_obj = self.pool['account.bank.statement.line']
|
||||||
values = parser_vals
|
values = parser_vals
|
||||||
values['statement_id'] = statement_id
|
values['statement_id'] = statement_id
|
||||||
@@ -233,16 +232,15 @@ class AccountStatementProfil(Model):
|
|||||||
raise osv.except_osv(_("Statement import error"),
|
raise osv.except_osv(_("Statement import error"),
|
||||||
_("The statement cannot be created: %s") % st)
|
_("The statement cannot be created: %s") % st)
|
||||||
return statement_id
|
return statement_id
|
||||||
|
|
||||||
|
|
||||||
class AccountBankStatementLine(Model):
|
class AccountBankStatementLine(Model):
|
||||||
_inherit = "account.bank.statement.line"
|
_inherit = "account.bank.statement.line"
|
||||||
|
|
||||||
_columns = {
|
_columns = {
|
||||||
'account_id': fields.many2one('account.account','Account'),
|
'account_id': fields.many2one('account.account', 'Account'),
|
||||||
}
|
}
|
||||||
|
|
||||||
_defaults = {
|
_defaults = {
|
||||||
'account_id': False,
|
'account_id': False,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user