[FIX] missing context param
bzr revid: jam@tinyerp.com-20110629083222-47rl2yy2vj3tdxfd
This commit is contained in:
parent
09f6d30a1a
commit
5b19375301
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue