I want to make a filter that will display only the necessary partners for the current user, but there you need to check by partner_id.id, and I only know the uid, but it's the user's id
example of my domain for the filter
"[('sale_request_ids.object_id.exclusive_partner_id', '=', (here should be the partner id of the current user)]"
Hi,
Refer the forum
https://www.odoo.com/sl_SI/forum/pomoc-1/how-i-can-get-the-current-user-partner-id-in-xml-odoo-102637