[IMP] project_issue : correct model name in onchange method

There is no model project.issueS, making the onchange select an inexistant model.
Fixes #3418
This commit is contained in:
Sheth Sunny
2014-11-03 20:16:56 +01:00
committed by Martin Trigaux
parent b12d84772e
commit 576218b003
+1 -1
View File
@@ -564,7 +564,7 @@ class project_project(osv.Model):
if use_tasks and not use_issues:
values['alias_model'] = 'project.task'
elif not use_tasks and use_issues:
values['alias_model'] = 'project.issues'
values['alias_model'] = 'project.issue'
return {'value': values}
def create(self, cr, uid, vals, context=None):