summaryrefslogtreecommitdiff
path: root/addons/website_mail/models/mail_thread.py
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2017-08-09 13:09:32 +0200
committerJérome Maes <jem@openerp.com>2017-08-16 14:56:40 +0200
commit3cfd64f63f6153c170c9c876fa65976a95da22cb (patch)
treedcd477f6e8225ed788fa38484fc28272e77073bb /addons/website_mail/models/mail_thread.py
parent2972976962617d4b8a0113bae58c640ab41cdff8 (diff)
[MOV] portal,website_mail: move chatter frontend to portal
This split responsiblilies : - portal provides basic chatter for portal document, and website documents (slides, blog, ...). - website_mail provides comments moderation (unpublished mail message) - website_rating integrate rating when posting comments
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")