Search code examples
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 earler 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 ?

please guide.

regards


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