You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
545 B

# -*- coding: utf-8 -*-
# Copyright 2017 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
from odoo import api, models
class MailMessage(models.Model):
_name = 'mail.message'
_inherit = ['mail.message',
'mail.thread',
]
_description = 'Mail Message (Threaded)'
@api.multi
def message_post(self, *args, **kwargs):
return super(
MailMessage,
self.with_context(mail_create_nolog=True),
).message_post(*args, **kwargs)