← Back to team overview

openerp-india team mailing list archive

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

 

Hello,
I was having the same problem too. Changes to the  From and Reply-To fields in email templates were being ignored. But, I did get it to work by restarting the OpenERP service. The next time I sent email, the the settings I changed to From & Reply-To were in effect.

Cheers!

-- 
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