Commit 8f865528 authored by niv-openerp's avatar niv-openerp

[fix] removed some optimisation that made the web client crash for some reason

parent b6401f23
......@@ -407,7 +407,6 @@ class Model(object):
record_ids = or [], offset, limit or False, order or False, context or {})
if not record_ids: return []
if field == ['id']: return [{'id': record_id} for record_id in record_ids]
records =, fields or [], context or {})
return records
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment