← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 682756] Re: Context sometimes missing when calling fields_view_get or name_get

 

Hello,

This bug has been solved in following revision.
revno: 4157 [merge]
revision-id: xmo@xxxxxxxxxxx-20101222142542-vkb6nzlt6d3ndm1q

Thanks.

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

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

Title:
  Context sometimes missing when calling fields_view_get or name_get

Status in OpenObject Web Client:
  Fix Released

Bug description:
  When I open a list view from the menu, I can see Web Client making the following RPC calls:
 - tree_but_open()
 - fields_view_get('search')
 - fields_get()
 - fields_view_get('tree')
 - search()
 - read()
 - ir.values.get(..'client_action_multi'..)
 - ir.values.get(..'client_print_multi'..)

All these calls have the context passed with lang and timezone, except the fields_get() call.
I haven't tracked down yet if this is the reason, but on diagram views (e.g workflows), the field names are not translated when double-clicking on a node, while the translations do exist and work in GTK (granted, only after having patched bug 682735 ;-))

I can also see the call to name_get without context when opening the diagram view for Workflow.

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

Thanks!







References