← Back to team overview

credativ team mailing list archive

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

 

Hello,

Currently the traceback(comment#1) is not reproducible anymore with
latest trunk.

Now for the main issue of this bug which is that we can send a mail for
project.task and in project.issue it is working fine because the
base_action_rule is a module specific and for project.task currently we
doesn't implemented it.

We are already working on base_action_rule (automated rule)  for making
this module as a generic.

So I am considering this as a "Wishlist" for future roadmaps.

Thank you!

** Changed in: openobject-addons
   Importance: Medium => Wishlist

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, 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