- When changing the user of a `hr.employee` record, access rights errors could be triggered. Those errors are triggered when a record (for example a leave) is linked to this employee and the current user has limited write accesses by record rules on this record. closes odoo/odoo#31032