From de02305285087badbac94cf4c08d450118ca1ecd Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Tue, 1 Mar 2011 18:18:41 +0530 Subject: [REF]account,hr_timesheet,product,point_of_sale,project:isinstance remove bzr revid: ron@tinyerp.com-20110301124841-5fc80dgsnwm76590 --- addons/project/wizard/project_task_delegate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'addons/project/wizard/project_task_delegate.py') diff --git a/addons/project/wizard/project_task_delegate.py b/addons/project/wizard/project_task_delegate.py index c7a64b0431c..ebe6fcb468f 100644 --- a/addons/project/wizard/project_task_delegate.py +++ b/addons/project/wizard/project_task_delegate.py @@ -105,8 +105,7 @@ class project_task_delegate(osv.osv_memory): task_id = context.get('active_id', False) task_pool = self.pool.get('project.task') delegate_data = self.read(cr, uid, ids, context=context)[0] - if isinstance(delegate_data['user_id'], tuple): - delegate_data['user_id'] = delegate_data['user_id'][0] + delegate_data['user_id'] = delegate_data['user_id'][0] delegate_data['name'] = tools.ustr(delegate_data['name']) task_pool.do_delegate(cr, uid, task_id, delegate_data, context=context) return {} -- cgit v1.2.3