[FIX] project_issue: small change in default project function
bzr revid: psi@tinyerp.co.in-20100430061719-7w9cir9cd7ck20mw
This commit is contained in:
@@ -133,7 +133,7 @@ class project_issue(osv.osv):
|
||||
def _get_project(self, cr, uid, context):
|
||||
user = self.pool.get('res.users').browse(cr,uid,uid, context=context)
|
||||
if user.context_project_id:
|
||||
return user.context_project_id
|
||||
return user.context_project_id.id
|
||||
return False
|
||||
|
||||
def convert_issue_task(self, cr, uid, ids, context=None):
|
||||
|
||||
Reference in New Issue
Block a user