summaryrefslogtreecommitdiff
path: root/addons/website_mail/models/mail_thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_mail/models/mail_thread.py')
-rw-r--r--addons/website_mail/models/mail_thread.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/addons/website_mail/models/mail_thread.py b/addons/website_mail/models/mail_thread.py
deleted file mode 100644
index 08cd54aa301..00000000000
--- a/addons/website_mail/models/mail_thread.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-
-from odoo import api, fields, models
-
-
-class MailThread(models.AbstractModel):
- _inherit = 'mail.thread'
-
- website_message_ids = fields.One2many('mail.message', 'res_id', string='Website Messages',
- domain=lambda self: [('model', '=', self._name), ('message_type', '=', 'comment')], auto_join=True,
- help="Website communication history")