diff --git a/bank_transaction_period_fix/model/account_bank_statement_line.py b/bank_transaction_period_fix/model/account_bank_statement_line.py index d96f6d67..efaa300d 100644 --- a/bank_transaction_period_fix/model/account_bank_statement_line.py +++ b/bank_transaction_period_fix/model/account_bank_statement_line.py @@ -26,12 +26,12 @@ class AccountBankStatementLine(orm.Model): """Extend account.bank.statement.line to use transaction date in moves.""" _inherit = 'account.bank.statement.line' - def process_reconciliation( + def process_reconciliation( self, cr, uid, id, mv_line_dicts, context=None): - """Put marker in context to use period from date in move line.""" - ctx = context.copy() or {} - ctx['override_period_from_date'] = True - return super(AccountBankStatementLine, self).process_reconciliation( - cr, uid, id, mv_line_dicts, context=ctx) + """Put marker in context to use period from date in move line.""" + ctx = context.copy() or {} + ctx['override_period_from_date'] = True + return super(AccountBankStatementLine, self).process_reconciliation( + cr, uid, id, mv_line_dicts, context=ctx) # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: