[FIX] account: bad domain
In a domain a list cannot be used with operator "!=". sentry:a6d32387c1ad4153bcc20c4a7193f8d3
This commit is contained in:
@@ -426,7 +426,7 @@ class account_bank_statement(osv.osv):
|
||||
|
||||
def number_of_lines_reconciled(self, cr, uid, ids, context=None):
|
||||
bsl_obj = self.pool.get('account.bank.statement.line')
|
||||
return bsl_obj.search_count(cr, uid, [('statement_id', 'in', ids), ('journal_entry_ids', '!=', [])], context=context)
|
||||
return bsl_obj.search_count(cr, uid, [('statement_id', 'in', ids), ('journal_entry_ids', '!=', False)], context=context)
|
||||
|
||||
def link_bank_to_partner(self, cr, uid, ids, context=None):
|
||||
for statement in self.browse(cr, uid, ids, context=context):
|
||||
|
||||
Reference in New Issue
Block a user