I'm currently setting up odoo for our company. I'm working with odoo Online (v12) (using odoo Studio).
I created new model Estates (x_estate) that contains many2many field called x_partners (relation: res.partner).
In our workflow, we'd like to assign an estate to every Sale Order Line, so I added a new field "Estate" to the list view of the Sale Order Lines.
As a lot of estates have the same name, I'd like to filter the choices depending on the Customer that is selected in the Sales Order.
I tried to achieve this using domain and context but didn't come to the expected result.
Context: {"parent_partner_id":parent.partner_id}
Domain: [["x_partners","ilike","parent_partner_id"]]
I guess I lack some technical comprehension of how this works and I'll be happy for any help. Is it even possible to achieve this with odoo Studio?