In my company when creating a helpdesk ticket, in the field "customer" you have to put a customer that is registered in the contacts module as a company. I need to create a related field in odoo studio that allows me to select a contact from all the contacts that the company has registered. I have tried to do it through the domain configuration option but it does not work.
This is the domain I have registered but it does not give me the desired results.
[["parent_id.name","=","partner_id"]]
But if I edit it by putting the name of a company registered in my Odoo, then if it brings me the contacts of that company, something like that:
[["parent_id.name","=","Cliente Modelo, C.A."]].