[IMP] data: skip read_ids call when got no id (opw 604099).
authorMartin Trigaux <mat@openerp.com>
Tue, 18 Feb 2014 10:14:38 +0000 (11:14 +0100)
committerMartin Trigaux <mat@openerp.com>
Tue, 18 Feb 2014 10:14:38 +0000 (11:14 +0100)
commit2e831ab7c377408782ab96c303f6fa50884d76e4
tree9e88b2dcd0cb4383e98f07f6b8b9777494cf8389
parente1dff484923c5579a4f6a72ab9c8a97883992a02
[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.

bzr revid: mat@openerp.com-20140218101438-yqim33cvtg6wt4mw
addons/web/static/src/js/data.js