← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 709567] Re: [6.0.1] many2one fields should be read as (id, name) also for osv_memory objects (saving name_get RPC calls)

 

BTW you can fix your own modules already by making sure to use browse()
instead of read() as much as possible, and if read() is really more
suited, test whether the value is a tuple and replace it with its first
element in that case. It won't hurt in any case, even without the
change.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/709567

Title:
  [6.0.1] many2one fields should be read as (id, name) also for
  osv_memory objects (saving name_get RPC calls)

Status in OpenERP Server:
  In Progress

Bug description:
  Hello,

  I've a production case with 315 moves in a picking, when clicking on
  process, the wizard last for nearly a minute to appear depending on
  your network latency because it makes a name_get RPC call for each
  line instead of reading it by batch, see the following GTK RPC logs +
  full description here (I open a new bug as those are separated
  concerns): https://bugs.launchpad.net/openobject-addons/+bug/709559





Follow ups

References