← Back to team overview

openerp-india team mailing list archive

[Bug 909816] Re: Automated Actions don't email when no "Email From:" is provided

 

** Changed in: openobject-addons
       Status: New => Confirmed

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

Title:
  Automated Actions don't email when no "Email From:" is provided

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Creating an Automated Action to e-mail someone when a Project Task is
  created, the e-mail is only sent if you set the "Email From" field,
  which is not mandatory.

  I believe that the problem is on base_action_rule.py, at the end of method do_action() there is an "if" clause preventing the e-mail to be sent:
              if email_froms:
                  self.email_send(cr, uid, obj, emails, action.act_mail_body, emailfrom=email_froms[0])

  Please note that if you try the same procedure on the Project Issue
  model, the email is correctly sent, since the do_action() on the
  crm_base_rule.py does not have this problem.

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


References