From b131f0d5d316f147da714c660862b56395e97bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 2 Apr 2012 16:09:58 +0200 Subject: [PATCH] [FIX] mail.thread: missin argument in log bzr revid: tde@openerp.com-20120402140958-r4qi3588q9x50h12 --- addons/mail/mail_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 0379955125a..6d91e126400 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -656,7 +656,7 @@ class mail_thread(osv.osv): def log(self, cr, uid, id, message, secondary=False, context=None): _logger.warning("log() is deprecated. Please use OpenChatter notification system instead of the res.log mechanism.") - self.message_append_note(cr, uid, [id], message, context=context) + self.message_append_note(cr, uid, [id], 'res.log', message, context=context) # tmp stuff def message_add_note(self, cr, uid, ids, body, type='notification', parent_id=False, subject=False, subtype='html', context=None):