summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2015-09-08 12:02:10 +0200
committerMartin Trigaux <mat@odoo.com>2015-09-08 14:30:37 +0200
commit909e6e300a6f2e1b1a6617f5d5e8233b0d42513e (patch)
treeaa248220f9d8c8af55171c3f6ffc8a5df22cd887 /addons/analytic_user_function/analytic_user_function_view.xml
parentbbd15cdca6e3bf6c92d3e230a2b7697c801a2cfb (diff)
[FIX] email_template: use valid email_from content
Correctly use the email_from tag from template. This partially reverts commit 0f82346167698fb7349ff16618d1cecf8984cca9. "[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
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions