[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:
parent
eaf335c7c0
commit
b0937e3e47
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue