I've got a custom module that has a Many2one field on 'product.product'. I would like to extend 'res.users' with a Mayn2Many relation to 'product.product'.
Is it in some way possible to filter the Many2one relation field 'product.product' in the custom module with the products that are selected in the Many2many field on the user that is logged in.
And this cannot be done in python with onchange api that then gets the ids and returns it in domain. I don't have any field that I can use the on change except the one for products that I want to filter.