Odoo Help

0

Automation: Server actions for stage update and Kanban state update

By
Thomas
on 8/9/16, 5:12 AM 800 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
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

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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