← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 682735] Re: GTK calls fields_get without context

 

Hello Olivier,

It has been improved in ~openerp-dev/openobject-client/trunk-dev-client
@ revision-info as 1379 nch@xxxxxxxxxxx-20101203060615-l6fme9m9jkvr29tk
and will be merged soon to trunk client.


Thanks,


** Changed in: openobject-client
       Status: Confirmed => Fix Committed

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

Title:
  GTK calls fields_get without context

Status in OpenObject GTK Client:
  Fix Committed

Bug description:
  Whenever I open a list view from the menu, I can see GTK making the following RPC calls:
 - tree_but_open()
 - fields_view_get() (e.g. once for tree, once for search)
 - fields_get()
 - search()
 - read()

All these calls have the context passed with lang and timezone, except the fields_get() call.

Another place where fields_view_get is called without context is when opening a diagram view. As a result when double-clicking on nodes in diagram view, the fields names are not translated in the popup.

See also (line numbers are from rev. 1703):
- bin/widget/view/diagram_gtk/parser.py:146
- bin/widget/view/diagram_gtk/parser.py:112
- ...

Please pass the context in these requests and verify that we don't have similar issues in other places...

Thanks!







References