diff options
| author | Jérome Maes <jem@openerp.com> | 2017-08-09 13:09:32 +0200 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2017-08-16 14:56:40 +0200 |
| commit | 3cfd64f63f6153c170c9c876fa65976a95da22cb (patch) | |
| tree | dcd477f6e8225ed788fa38484fc28272e77073bb /addons/website_mail/models/mail_thread.py | |
| parent | 2972976962617d4b8a0113bae58c640ab41cdff8 (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.py | 12 |
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") |
