Hello everybody,
I try to get a domain (context maybe) on field when I change a value of an other field.
My case :
I have two fields :
partner_id
: m2o (res.partner) typetype
: selection(sale or purchase)
On a form view, I want when I set type=sale
, the domain=[('customer','=',True)]
applied to the field partner_id
My idea is to use onchange action on the field type, but I don't know how
A help please