automationodoo

Odoo v17: Automation Rules - Trigger is missing?


In Odoo 17 I want to create an Automation Rule for Create only. I can see there is an On Save trigger, but it works on both Create and Update too. I want it to Execute Code on Create only. It was present in earlier versions, why is missing in 17?

How to create Automation Rule specifically for Create only to assign a value after concatenation of 2 fields and a last+1 value using Execute Code?


Solution

  • There is still a trigger for "On Create", but its name has been tweaked and it is under a different heading. You should be able to use "After creation" in the same way.

    You can find this menu/form by enabling developer mode, then going to Settings > Technical > Automation > Automation Rules.

    Screenshot of Automation Rules form view