def group_create(context, data_dict):
 if (data_dict.get('type') == 'organization'):
  raise Exception(_('Trying to create an organization as a group'))
 _check_access('group_create', context, data_dict)
 return _group_or_org_create(context, data_dict)

def group_create ( context , data_dict ) : if ( data_dict . get ( 'type' ) == 'organization' ) : raise Exception ( _ ( 'Trying to create an organization as a group' ) ) _check_access ( 'group_create' , context , data_dict ) return _group_or_org_create ( context , data_dict )
create a group from the values dictionary .