diff options
| author | ron@tinyerp.com <> | 2011-03-01 18:18:41 +0530 |
|---|---|---|
| committer | ron@tinyerp.com <> | 2011-03-01 18:18:41 +0530 |
| commit | de02305285087badbac94cf4c08d450118ca1ecd (patch) | |
| tree | 547d86e77032d91d419f679e858574ec477448c4 /addons/project/wizard/project_task_delegate.py | |
| parent | 7b2c1d285542908d14d459f260c99e4d10079d39 (diff) | |
[REF]account,hr_timesheet,product,point_of_sale,project:isinstance remove
bzr revid: ron@tinyerp.com-20110301124841-5fc80dgsnwm76590
Diffstat (limited to 'addons/project/wizard/project_task_delegate.py')
| -rw-r--r-- | addons/project/wizard/project_task_delegate.py | 3 |
1 files changed, 1 insertions, 2 deletions
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 {} |
