diff options
| author | Raphael Collet <rco@openerp.com> | 2012-06-28 15:12:10 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-06-28 15:12:10 +0200 |
| commit | 1debe0efcd00a294fa436a8a13416ccb1de0e919 (patch) | |
| tree | a9a7209823affdaedb129f6f1cd1c0173fa11a6e /addons/project_issue/project_issue.py | |
| parent | 083deae5a4845cb9578b318ec08bd2d62b79a755 (diff) | |
| parent | a6e3d4bf0029d879e008414090d54499ffe358f4 (diff) | |
[MERGE] from trunk
bzr revid: rco@openerp.com-20120628131210-hyx2t1lqbl5hwm9g
Diffstat (limited to 'addons/project_issue/project_issue.py')
| -rw-r--r-- | addons/project_issue/project_issue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 976a706ac54..2aa6d4e1bcd 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -241,7 +241,7 @@ class project_issue(base_stage, osv.osv): 'categ_id': fields.many2one('crm.case.categ', 'Category', domain="[('object_id.model', '=', 'crm.project.bug')]"), 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority', select=True), 'version_id': fields.many2one('project.issue.version', 'Version'), - 'stage_id': fields.many2one ('project.task.type', 'Stages', + 'stage_id': fields.many2one ('project.task.type', 'Stage', domain="['|', ('project_ids', '=', project_id), ('case_default', '=', True)]"), 'project_id':fields.many2one('project.project', 'Project'), 'duration': fields.float('Duration'), |
