diff options
| author | mra (Open ERP) <mra@tinyerp.com> | 2010-04-12 15:55:18 +0530 |
|---|---|---|
| committer | mra (Open ERP) <mra@tinyerp.com> | 2010-04-12 15:55:18 +0530 |
| commit | ceaecaf57ad32f69e43be3559f2a8b15f49ba2fa (patch) | |
| tree | 6e4484c4ab542d0593f116846c63ae15c1f7983c /addons/project_issue/project_issue.py | |
| parent | 684bdfe21a7ea2e1a904818872a7a3ba1fe84823 (diff) | |
[IMP] project_issue: Improve the search view of project Issues, The Converrt to Task button must work, either if the issue in not in the state open
bzr revid: mra@tinyerp.com-20100412102518-mgqteb79uzxdkabz
Diffstat (limited to 'addons/project_issue/project_issue.py')
| -rw-r--r-- | addons/project_issue/project_issue.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index fa43de1ef2d..3f35913ae75 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -148,10 +148,10 @@ class project_issue(osv.osv): if context is None: context = {} - for case in case_obj.browse(cr, uid, ids, context=context): - if case.state != 'open': - raise osv.except_osv(_('Warning !'), - _('Issues or Feature Requests should be in \'Open\' state before converting into Task.')) +# for case in case_obj.browse(cr, uid, ids, context=context): +# if case.state != 'open': +# raise osv.except_osv(_('Warning !'), +# _('Issues or Feature Requests should be in \'Open\' state before converting into Task.')) result = data_obj._get_id(cr, uid, 'project', 'view_task_search_form') res = data_obj.read(cr, uid, result, ['res_id']) |
