diff options
| author | Olivier Dony <odo@openerp.com> | 2011-02-01 12:23:22 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-02-01 12:23:22 +0100 |
| commit | 3293581e242690e800a97bedf626b3a3105578b9 (patch) | |
| tree | 4d43a543e5dd3f708dcdefb21a34e06a2f7b93c0 /bin/pychart/pie_plot.py | |
| parent | 50adbbfdfac01cf5a49de00de710000dc2e5f9f5 (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-20110201112322-2yw0wxc63wvt7ves
Diffstat (limited to 'bin/pychart/pie_plot.py')
0 files changed, 0 insertions, 0 deletions
