From b0937e3e4727bdf8553257d0630f699a28cea37c Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Wed, 25 Jul 2012 11:44:50 +0200 Subject: [PATCH] [FIX] mail: the subject of notification messages is not required, but it should be allowed bzr revid: rco@openerp.com-20120725094450-qrnczd8snzjf83iw --- addons/mail/mail_thread.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index d036150b21c..1655ab98afb 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -822,8 +822,6 @@ class mail_thread(osv.Model): def message_append_note(self, cr, uid, ids, subject=None, body=None, parent_id=False, type='notification', content_subtype='html', context=None): - if type in ['notification', 'comment']: - subject = None if content_subtype == 'html': body_html = body body_text = body