Hello.
I'm using Odoo 17.2 (the Online version, so no direct access to code).
Lot of literature about using dynamic domains in Odoo, but very few info on how to implement it with Studio.
I have a Many2One field and this domain attached: [('categ_id', '=', 12)] and works perfectly.
I want now to have a different domain (for example [('categ_id', '=', 16)] )if a Boolean field is = True.
Let's say is_custom is a Checkbox field:
if is_custom:
my domain should be [('categ_id', '=', 12)]
else:
my domain should be [('categ_id', '=', 16)]
Is this possible in Odoo 17+ using Studio + Automations ?
Thanks a lot in advance for the info
LB