<?xml version='1.0' encoding='utf-8' ?>
<odoo>
    <record id="hr_timesheet_rule_request_user" model="ir.rule">
        <field name="domain_force">[
            ('maintenance_request_id.message_partner_ids', 'in', [user.partner_id.id]),
            ('maintenance_request_id.user_id.id', '=', user.id)
        ]
        </field>
    </record>
</odoo>
