[REF] sync_google_contact: Removed 'System Group' from group title.
bzr revid: uco@tinyerp.com-20110324110228-cwwsp6d1bxk5x3e4
This commit is contained in:
@@ -71,7 +71,10 @@ class synchronize_google_contact(osv.osv_memory):
|
||||
if gd_client:
|
||||
groups = gd_client.GetGroups(q=query)
|
||||
for grp in groups.entry:
|
||||
res.append((grp.id.text, grp.title.text))
|
||||
title = grp.title.text
|
||||
if 'System Group' in grp.title.text:
|
||||
title = grp.title.text.split(': ')[1]
|
||||
res.append((grp.id.text, title))
|
||||
res.append(('all','All Groups'))
|
||||
return res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user