mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] Fix context comparison with None
This commit is contained in:
@@ -1902,7 +1902,7 @@ class account_bank_statement_line(osv.osv):
|
||||
import_transaction_pool = self.pool.get('banking.import.transaction')
|
||||
if ids and isinstance(ids, (int, long)):
|
||||
ids = [ids]
|
||||
if context = None:
|
||||
if context is None:
|
||||
context = {}
|
||||
localcontext = context.copy()
|
||||
localcontext['transaction_no_duplicate_search'] = True
|
||||
|
||||
Reference in New Issue
Block a user