← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Olivier,

fixing the Brazilian localization to cope to the API change was very easy
indeed. The only dilemna I have is:
1) should I accept the bad perf and use the trunk version
2) should I try the API fix at the risk of having more wizard bugs...
This is a hard question. I hope OpenERP SA will go for a fix, we all know
that waiting is only making the issue much bigger at the next release change
at this stage. Because inconsistent API mean people will write tons of hack
to make it work no matter what, but this is never going to become clean
again, this is an entropy matter...


On Tue, Feb 1, 2011 at 7:13 PM, Olivier Dony (OpenERP) <
709567@xxxxxxxxxxxxxxxxxx> wrote:

> 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 direct subscriber
> of the bug.
> 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
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-server/+bug/709567/+subscribe
>

-- 
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





References