summaryrefslogtreecommitdiff
path: root/addons/mail/mail_thread.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2014-06-30 11:32:55 +0200
committerThibault Delavallée <tde@openerp.com>2014-06-30 11:32:55 +0200
commitba4454ccfb9fc2de2dca0f7cd753ddb453b5f2fe (patch)
treef2bb109fb60bb9d285e6526fe10734d6733e7714 /addons/mail/mail_thread.py
parent58ad25d0e3f002a630698bd7627657d27490b40e (diff)
parent2c45b7162ce8d067123c54fa7d191c54fd024739 (diff)
Merge pull request #830 from odoo-dev/saas-4-mailing-lists-imp-tde
[IMP] [BACKPORT] Mailing lists usability improvements: headers related t...
Diffstat (limited to 'addons/mail/mail_thread.py')
-rw-r--r--addons/mail/mail_thread.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py
index c9662f04567..3691d352252 100644
--- a/addons/mail/mail_thread.py
+++ b/addons/mail/mail_thread.py
@@ -690,6 +690,16 @@ class mail_thread(osv.AbstractModel):
if record.alias_domain and record.alias_name else False
for record in self.browse(cr, SUPERUSER_ID, ids, context=context)]
+ def message_get_email_values(self, cr, uid, id, notif_mail=None, context=None):
+ """ Temporary method to create custom notification email values for a given
+ model and document. This should be better to have a headers field on
+ the mail.mail model, computed when creating the notification email, but
+ this cannot be done in a stable version.
+
+ TDE FIXME: rethink this ulgy thing. """
+ res = dict()
+ return res
+
#------------------------------------------------------
# Mail gateway
#------------------------------------------------------