Skip to Content
Menu
This question has been flagged
1 Reply
2385 Views

I would like to automatically have activities created that set due dates and assigns a salesperson to the relevant stage task.

So for instance, if I drop an opportunity in "Site Check" I want a Site Check activity to be created. And when that's finished and I move the opportunity into "Site Sketch", another activity is created for Site Sketches.

I understand that these activities will all be separate from each other and I will have to set up each one, that's fine, I don't care. I just want to know how to set them up in the first place. I found this answer from two years ago

https://www.odoo.com/forum/help-1/automated-action-to-create-new-scheduled-activity-194471

And it seems like that's what I want to do, however I cannot follow any of these instructions in the modern version of Odoo (16). So how is it done today?

Avatar
Discard
Best Answer

Hi,You need to go to Settings -> Technical -> Automated actions and create a new action.


Your action should look something like the image above.
The model is the model you want this action to work.Active is to enable and disable this action.Trigger you have multiple options. Whether you want to trigger this action when you create a record or update a record or both.Domain you can select which all records you need this action to perform on.Action to do is set to define which action should be done. You can even run a python code using this option. Currently the chosen one is Update the record. You can choose which field to update and what all values should be updated using this option.


Hope it helps

Avatar
Discard
Related Posts Replies Views Activity
1
Aug 24
1495
0
May 20
2450
0
Mar 25
397
2
Dec 24
717
0
May 24
581