summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-02-01 12:24:47 +0100
committerOlivier Dony <odo@openerp.com>2011-02-01 12:24:47 +0100
commit3ec7a4b2d9180216fcb16019834bd6d4737a31d5 (patch)
tree89ba504100cbb5124214f819e7820cb3d87fe178 /sql
parent488efd39d90eec8beeb3447608e1cb1641773721 (diff)
[FIX] many2one: return (id,name) instead of only id also for osv_memory
By doing this small change we save clients the trouble of explicitly having to call name_get() for each m2o field in osv_memory objects, which they cannot trivially batch and represents a large dealy for wizards with possibly large numbers of child o2m records. An example is the linked bug, where partial picking of several hundred move lines would lead to as many separate name_get RPC calls, causing a noticeable delay. lp bug: https://launchpad.net/bugs/709567 fixed bzr revid: odo@openerp.com-20110201112447-i00sn3ih6qgj3wlh
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions