From bc11d27f62faa061ab48ee006996c3023304d398 Mon Sep 17 00:00:00 2001 From: Darshan Kalola Date: Tue, 13 Jan 2015 12:09:00 +0530 Subject: [PATCH] [IMP] project: add author of incoming email as customer of the newly created task. --- addons/project/project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/project/project.py b/addons/project/project.py index 19f5f35e968..12121786ab9 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -1150,6 +1150,7 @@ class task(osv.osv): defaults = { 'name': msg.get('subject'), 'planned_hours': 0.0, + 'partner_id': msg.get('author_id', False) } defaults.update(custom_values) res = super(task, self).message_new(cr, uid, msg, custom_values=defaults, context=context)