Hello Sir,

In wiki module there is `group_id` field and when we apply groupby on list of 
records it goes for parse_group into the listgroup.py there is we have 
grp_records -result
like :: {'__context': {'group_by': []}, 'group_id': (1, u'Help - Using The 
Wiki'), 'group_id_count': 2L, '__domain': [(u'group_id', u'=', 1)]}
And at line 116 we update the dictionary value by,
rec['group_id'] = 'group_' + str(random.randrange(1, 10000)).
So original `group_id` override by manually created id.
because of that it just show the override value not original label.
So we have to change our naming convention. Maybe it is possible for other 
modules also use same `group_id` except wiki.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-client-web/trunk-bug-721840-kch/+merge/51111
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client-web/trunk-bug-721840-kch.

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

Reply via email to