summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-08-22 19:16:59 +0200
committerOlivier Dony <odo@openerp.com>2011-08-22 19:16:59 +0200
commit8f9f45ea948d1ffecb79601e860d522fc6686c2d (patch)
treea789d72a67cef289e770323aaf45c158579ecc6c /addons/mail/wizard/mail_compose_message.py
parent50507512cbaf6d0119a29943c9ca85deb4057404 (diff)
[IMP] all: next pass of review/renaming for new mail API
bzr revid: odo@openerp.com-20110822171659-zxho36a6n628i10q
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
-rw-r--r--addons/mail/wizard/mail_compose_message.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py
index 0cdd5a8b7ba..b92db46857d 100644
--- a/addons/mail/wizard/mail_compose_message.py
+++ b/addons/mail/wizard/mail_compose_message.py
@@ -218,8 +218,8 @@ class mail_compose_message(osv.osv_memory):
def render_template(self, cr, uid, template, model, res_id, context=None):
"""Render the given template text, replace mako-like expressions ``${expr}``
- with the result of passing these expressions ``through safe_eval()`` with
- an evaluation context containing:
+ with the result of evaluating these expressions with an evaluation context
+ containing:
* ``user``: browse_record of the current user
* ``object``: browse_record of the document record this mail is