[FIX] mail: the subject of notification messages is not required, but it should be allowed

bzr revid: rco@openerp.com-20120725094450-qrnczd8snzjf83iw
This commit is contained in:
Raphael Collet 2012-07-25 11:44:50 +02:00
parent eaf335c7c0
commit b0937e3e47
1 changed files with 0 additions and 2 deletions

View File

@ -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