← Back to team overview

openerp-india team mailing list archive

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

 

Thanks for your interrest. The video only shows what i already know. What I
want is to call the action created by the template with the "create sidebar
button" in any python module (for exemple I create a email template for
tasks notifications, and i would like to call it automatically when a task
starts, is modified, done etc...).

Thanks in advance.

2012/5/28 Amit Parik (OpenERP) <amp@xxxxxxxxxxx>

> Hello Charton,
>
> Thanks for your reply.
>
> As per your comment#3, this is your end problem that's why I am closing
> this issue.
>
> For your question of comment#3, I have attached a video which will help
> you.
>
> Thanks!
>
> ** Changed in: openobject-addons
>       Status: Incomplete => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/997613
>
> Title:
>  email server action 'to' field context error
>
> Status in OpenERP Addons (modules):
>  Invalid
>
> 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
>

-- 
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):
  Invalid

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