-
- |
-
- - % if ctx.get('button_access') or ctx.get('button_follow') or ctx.get('button_unfollow'): - ${ctx['button_access']['title']} - % endif +
+
|
+
+
+ |
+|
|
+ + % if ctx.get('subtype') and ctx.get('subtype').internal: + + Internal note: replies are not sent to followers. + + % endif + |
+|||
|
-
-
- - |
-
+ Sent by + % if ctx.get('website_url'): + + % endif + ${ctx.get('company_name')} + % if ctx.get('website_url'): + + % endif + using + Odoo. +
+]]> diff --git a/addons/mail/models/res_partner.py b/addons/mail/models/res_partner.py index ae52c976a0f..98aa747fe5e 100644 --- a/addons/mail/models/res_partner.py +++ b/addons/mail/models/res_partner.py @@ -83,6 +83,7 @@ class Partner(models.Model): 'record_name': record_name, 'tracking': tracking, 'is_discussion': is_discussion, + 'subtype': message.subtype_id, 'is_accessible': message._is_accessible() }