Raising importance after finding untranslated views (see updated
description)

** Description changed:

  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()
+  - 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.
- I'm not sure at this point where this is used and if this has an impact on 
translations, but this is at the least not consistent, and could lead to issues 
with translations for example (if not now, maybe later).
+ All these calls have the context passed with lang and timezone, except
+ the fields_get() call.
  
- Please pass the context in this request...
+ 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 if that we don't
+ have similar issues in other places...
  
  Thanks!

** Changed in: openobject-client
   Importance: Low => Medium

-- 
GTK calls fields_get without context
https://bugs.launchpad.net/bugs/682735
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.

Status in OpenObject GTK Client: Confirmed

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 if that we don't have 
similar issues in other places...

Thanks!



_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to