← Back to team overview

openerp-dev-web team mailing list archive

Re: lp:~openerp-dev/openobject-client-web/trunk-bug-721840-kch into lp:openobject-client-web

 

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.



References