1

I am trying to run an Odoo Automated task that emails users if they have a task deadline that is overdue or within 8 hours time. I would like this task to run daily so that I can affectively remind them about it.

However, I have encountered a few errors so far:

  • The 'Automated Actions' builder that Odoo provides in debug mode needs a trigger. Timed conditions only give a datetime picker, therefore I cannot set it to 'daily' etc.
  • I have tried setting a 'Scheduled Action' to the automated action to run it, but it isn't running - probably because the trigger isn't being hit (since there is options for on creation, when updated and timed conditions).

I hope this makes sense. Please see the screenshots below for what I have so far.

Automated Task:

enter image description here

Scheduled Task:

enter image description here

Thanks in advance!

eibersji
  • 1,218
  • 4
  • 29
  • 52
  • You should set number of calls to -1 this means unlimited calls – Charif DZ Nov 10 '18 at 06:40
  • I have tried this, however, I don't think the task is running because the automated task is on a timed condition, meaning I can't just run it whenever I would like to - and the tasks wont be updated or anything for it to run. – Thomas Wainwright Nov 12 '18 at 09:27
  • UPDATE - I have created an automated action that works now (it goes off the model 'on update' event), which is linked to the scheduled action that SHOULD update the task in a way that it triggers the automated action. Everything works if I set it as a 'contextual action' and run it when looking at a task. However, when it runs daily, it doesn't have context (I want it to update 200 + tasks). Any ideas? – Thomas Wainwright Nov 12 '18 at 17:10

0 Answers0