Merge PR #490 into 11.0

Signed-off-by hbrunn
pull/494/head
OCA-git-bot 2020-01-20 16:38:13 +00:00
commit 038b4638b0
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class MailThread(models.AbstractModel):
save_original=False, strip_attachments=False, save_original=False, strip_attachments=False,
thread_id=None): thread_id=None):
disable_notify_mail_drop_target = \ disable_notify_mail_drop_target = \
self.env["ir.config_parameter"].get_param( self.env["ir.config_parameter"].sudo().get_param(
"mail_drop_target.disable_notify", default=False) "mail_drop_target.disable_notify", default=False)
self_message_process = self self_message_process = self
if disable_notify_mail_drop_target: if disable_notify_mail_drop_target: