Hello jean-paul,

Thanks for the patch but your patch is not good :( an improved version has 
landed on the trunk client to fix the above  problem.
with revision-info as 1826 [email protected]

Thanks for reporting !



** Changed in: openobject-client
       Status: Confirmed => In Progress

** Changed in: openobject-client
       Status: In Progress => Fix Released

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

Title:
  [Trunk] group_by in context on one2manylist

Status in OpenERP GTK Client:
  Fix Released

Bug description:
  adding in context on a one2many list a group_by and giving 1 single fieldname 
ex:context="{'group_by':'fieldname1'}" works fine, but giving a list gives an 
error ex:context="{'group_by':['fieldname1','fieldname2']}"
  on GTK client: \bin\widget\view\list.py at line 180, in load If not 
rec.value.get(field,False): TypeError list objects are unhashable.

  I have found a patch by adding 1 line of code on line 161 in list.py. by 
adding this line of code:
  gb= (gb!=[] and isinstance(gb,list)) and (len(gb[0])>0 and 
isinstance(gb[0],list)) and gb[0] or gb

_______________________________________________
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