Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Automation: Server actions for stage update and Kanban state update

By
Thomas
on 8/9/16, 5:12 AM 247 views

Hi!

In Odoo 9 I would like to create some automated actions concerning project issues. Here is what I would like the system to do:

1. Move an issue from a certain stage to another when there has not been any update for x days.

2. Change the Kanban state of an issue to Ready for next stage when the issue is in a certain stage and an e-mail reply to the issue is received.


I know how to set the conditions and filters for the "automated actions" but I do not know how to create the according "server actions". I guess this requires "Execute Python Code" as "Action To Do", or is there another way? If it requires Python coding, can someone tell me if this is a lot of work? I guess it shouldn't be, as all models and fields are already defined. But I am also not Python-savy ;-).

Thank you for any replies in advance! Best, Thomas

1

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


Ahmed M.Elmubarak
On 8/9/16, 5:32 AM

Hi,

Yup, I think you need to define a python function to be called by the cron to achieve your task :]

I think it'll not be too much coding just searching for the targeted records then change there state in regards ...


Hope this could helps

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/9/16, 5:12 AM
Seen: 247 times
Last updated: 8/9/16, 5:32 AM