[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 15:38:22 +05:30 committed by Martin Trigaux
parent b12d84772e
commit 576218b003
1 changed files with 1 additions and 1 deletions

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):