← Back to team overview

openerp-india team mailing list archive

[Bug 1193283] Re: [7.0] email_from in email templates ignored

 

Same here. Neither email_from nor reply_to are taken from the template.
The template settings for email_from and reply_to from the template
should override any other setting (as it occurs with the message
subject, for example).

Restarting the server or installing python-jinja2 (it was already
installed, actually) didn't work.

OpenERP version: 7.0-20131002-231025-1 (from OpenERP SA nightly .deb channel)
Jinja2 version: 2.5.5-1

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1193283

Title:
  [7.0] email_from in email templates ignored

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  As is in the related bug (https://bugs.launchpad.net/openobject-
  addons/+bug/1171505) but here I'm talking about email_from field

  When sending an email from the system using a template with a fixed
  From email address, this settings is ignored and the email_from used
  is always alias of current user and not the email address or field
  specified in the template.

  to find this you can
  1) change email template for sale order and file email_from field with some fiexed email
  2) send a sale sale order by email to some of your addresses using previous modified template

  You should recevive the sale order where sender is the address you had
  specified in the template but you will receive by yourself opener
  alias.

  I've prepared a workaroud that's is working for me :

  in email_template/wizard/mail_compose_message.py:  Add email_from to filter list
  in mail/mail_followers.py : change sender selection order
  in mail/wizard/mail_compose_message.py: add email_from field from wizard.email_from
  in mail/wizard/mail_compose_message_view.xml:  add email_from field

  This is not so nice solution because it will shows sender field always also for standard messaging view, may be changes should be done on some other view (template ?) anyway  it's wath I can do now
  regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1193283/+subscriptions