Hello,
I'm currently working on a custom module in wich i'd like to modify 2 domains if an other is change. It look like this:
@api.onchange('field_1')
def onchange_partner_id(self):
for rec in self:
return {'domain': {'field_2': [('parent_id', '=', rec.field_1.id)]}},{'field_3': [('parent_id', '=', rec.field_1.id)]}
If it's not possible, please tell me if they're is an other way to do so, otherwise thank you for your answers !
Have a nice day,
Ewen JEZEQUEL