Hi I want to get the partner_id of a user for doing something like:
<act_window id="action_my_module_received_reviews" name="Received Reviews" res_model="my_module.review" domain="[('reviewer_id', '=', uid.partner_id)]"/>
How can I do that?
EDIT: Solution - for simplicity I just reference the user id in my model directly instead of the partner_id