Auto reply emails for project issue

Asked by Aldin Draghoender

Hi,

What is the python code for the server action in order to send an auto reply to users? I'm using v6.1.

Regards.

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#1

Aldin,

You can use base_action_rule for this.

Thanks.

Revision history for this message
Aldin Draghoender (aldin-draghoender) said :
#2

Thanks for the reply Serpent,

I've been trying for days now to get base_action_rule work. Could you please explain the necessary fields and do I need to add a server action?

Regards,
ALDIN

Revision history for this message
Aldin Draghoender (aldin-draghoender) said :
#3

Maybe I should add that I get the following error.

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

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) said :
#4

Aldin,

Base_action_rule works on specific models where there is state and some other specified fields.

It will work for project_issue.

The error says you did not add recipient info properly.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Aldin Draghoender for more information if necessary.

To post a message you must log in.