[IMP] data: skip read_ids call when got no id (opw 604099).

This avoids making useless calls to to read the values of o2m fields when the read on a record already told us there was no ids.