From 3c7d66b0148b3d3d7a8b016c2579d96887af93ad Mon Sep 17 00:00:00 2001 From: "Vir (Open ERP)" Date: Wed, 25 Aug 2010 16:28:32 +0530 Subject: [PATCH] [FIX] survey : fix group error in answer survey. bzr revid: vir@tinyerp.com-20100825105832-e0ac6751c1k83zlt --- addons/survey/wizard/survey_selection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/survey/wizard/survey_selection.py b/addons/survey/wizard/survey_selection.py index 2a9438594b2..92097d99333 100644 --- a/addons/survey/wizard/survey_selection.py +++ b/addons/survey/wizard/survey_selection.py @@ -62,7 +62,7 @@ class survey_name_wiz(osv.osv_memory): for sur in surv_obj.browse(cr, uid, [context.get('survey_id',False)]): result.append((sur.id, sur.title)) return result - group_id = self.pool.get('res.groups').search(cr, uid, [('name', 'in', ('Survey / Manager','Survey / User'))]) + group_id = self.pool.get('res.groups').search(cr, uid, [('name', 'in', ('Tools / Manager','Tools / User'))]) user_obj = self.pool.get('res.users') user_rec = user_obj.read(cr, uid, uid) for sur in surv_obj.browse(cr, uid, surv_obj.search(cr, uid, [])):