diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-07-05 08:40:59 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-07-05 08:40:59 +0000 |
| commit | f6556b19a51bc6d4f90bfb002040483decc4a143 (patch) | |
| tree | 7d72d837015b665052a5172adbd8aa5ba990352d | |
| parent | 04d9715766adab97dd6da66c97e50fd6a30dab31 (diff) | |
[FIX] portal: show emails in portal chatter
Create a quotation and send an email to the customer, let the customer
reply by email, as a portal user go on the portal view of that
quotation, he does not see the emails.
opw-2008653
closes odoo/odoo#34611
Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
| -rw-r--r-- | addons/portal/models/mail_thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/portal/models/mail_thread.py b/addons/portal/models/mail_thread.py index 947839bc093..bb07e5c627f 100644 --- a/addons/portal/models/mail_thread.py +++ b/addons/portal/models/mail_thread.py @@ -10,5 +10,5 @@ class MailThread(models.AbstractModel): _mail_post_token_field = 'access_token' # token field for external posts, to be overridden website_message_ids = fields.One2many('mail.message', 'res_id', string='Website Messages', - domain=lambda self: [('model', '=', self._name), ('message_type', '=', 'comment')], auto_join=True, + domain=lambda self: [('model', '=', self._name), '|', ('message_type', '=', 'comment'), ('message_type', '=', 'email')], auto_join=True, help="Website communication history") |
