From 5b193753017d5ddc07baab5fc227f4fd2d99e38d Mon Sep 17 00:00:00 2001 From: Jigar Amin Date: Wed, 29 Jun 2011 14:02:22 +0530 Subject: [PATCH] [FIX] missing context param bzr revid: jam@tinyerp.com-20110629083222-47rl2yy2vj3tdxfd --- addons/project_mailgate/project_mailgate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/project_mailgate/project_mailgate.py b/addons/project_mailgate/project_mailgate.py index 1261a25f4f2..779a0c266e2 100644 --- a/addons/project_mailgate/project_mailgate.py +++ b/addons/project_mailgate/project_mailgate.py @@ -119,7 +119,7 @@ class project_tasks(osv.osv): message_id=message_id, attach=attach, \ context=context) - def do_draft(self, cr, uid, ids, context): + def do_draft(self, cr, uid, ids, context=None): res = super(project_tasks, self).do_draft(cr, uid, ids, context) tasks = self.browse(cr, uid, ids, context=context) self._history(cr, uid, tasks, _('Draft'), context=context)