← Back to team overview

openerp-india team mailing list archive

[Bug 997613] Re: email server action 'to' field context error

 

Hi. I managed to make it work seems I wrongly modified orm.py or I forgot to restart with -u all to update and only update base_action_rule module by the web interface...
Still one question if someone can answer : I create an email template and an action button associated, how can I call this action related to the template ?
In a proper words, how can I send emails in any module using an email template ?

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

Title:
  email server action 'to' field context error

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Hi.
  I'm trying to send emails notifications for my openerp's tasks via automated email+server action (email). Failed on the evaluation of the 'To/Cc...' field.

  AssertionError: At least one valid recipient address should be
  specified for outgoing emails (To/Cc/Bcc)

   I tried to fix base_action_rule.py & fetchmail.py as I found on lp but I faced a new error on orm.py I fixed as I found on lp again...Still not working on my ubuntu 10.04 (works on windows).
  I tried to put back everything as it was but I still get the error:

  if not getattr(cls, '_original_module', None) and name == parent_model._name:
  AttributeError: 'NoneType' object has no attribute '_name'

  By the way, it could be nice to be able to choose the smtp server to use with the action.
  Could be nice to handle auto task emails like in purchase module (edi export & email).
  Email handling in openerp is a mess!
  I'll try to track actions in the code to add this but I'm new in openerp...so it will take time...
  same for edi handling I want to code it but I first need to well understand way it works.

  Thanks for your help.
  Jeremie Charton
  Société Guyacom
  jcharton@xxxxxxxxxx

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


References