[FIX] Boolean function field not to return browse_null record

This commit is contained in:
Stefan Rijnhart
2013-04-26 10:10:29 +02:00
parent 4a9e408baf
commit 08b34aade0

View File

@@ -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