odoo/addons/email_template/wizard
Martin Trigaux 909e6e300a [FIX] email_template: use valid email_from content
Correctly use the email_from tag from template.
This partially reverts commit 0f82346167.
"[FIX] email_template: keep email_from and outgoing server"
Remove the email_from part that was incorrect, keeping the one on mail_server_id

Instead of assigning an non-evaulated email_from in the context, specify the
email_from in the onchange method. This way the created email has an evaulated
from value. This was an issue for templates using email_from like
"${(object.user_id.email or '')|safe}"

In the _notify method method, the email_from is partially respected as it will
be used a fallback only. However changing that would introduce a modification of
behaviour not suitable for 7.0 branch.

Fixes #8409
2015-09-08 14:30:37 +02:00
..
__init__.py [IMP] Added missing vim mode lines 2011-11-22 09:51:38 +01:00
email_template_preview.py [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
email_template_preview_view.xml [FIX] email_template: change name value and concat test 2012-11-07 12:39:25 +01:00
mail_compose_message.py [FIX] email_template: use valid email_from content 2015-09-08 14:30:37 +02:00
mail_compose_message_view.xml [FIX] email_template: security, email_template no rights for externals 2014-08-26 17:32:04 +02:00