I have a list and form views, I can select one element in the list to access the form.
The form has fields A and B (both many2one), when A has one value B must filter by these value.
When I change the value in A, I can use function on_change to set the domain in B.
The problem comes when I access this form view from the list and A already has a value, I don't know how to set the domain then, I have tried with default_get and read functions, but I'm not successful.