mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] Boolean function field not to return browse_null record
This commit is contained in:
@@ -1703,7 +1703,7 @@ class account_bank_statement_line(osv.osv):
|
||||
"""
|
||||
res = {}
|
||||
for line in self.browse(cr, uid, ids, context):
|
||||
res[line.id] = (
|
||||
res[line.id] = bool(
|
||||
line.state == 'draft'
|
||||
and not line.partner_id
|
||||
and line.import_transaction_id
|
||||
|
||||
Reference in New Issue
Block a user