-
- Downloads
[FIX] hr: Impossible to create an employee
Steps to reproduce the bug: - Let's consider a user U with a related partner P - Log with an internal user IU without Admnistration/Settings and Employee Officer access rights - Create an employee E with address_home_id = P and save Bug: An access right was raised because the mobile of P was written on P and the error was raised at https://github.com/odoo/odoo/blob/13.0/odoo/addons/base/models/res_partner.py#L531 Due to this bug, only internal user with Admnistration/Settings access rights can create an employee linked to a contact of an internal user. opw:2445953 closes odoo/odoo#65848 Signed-off-by:Simon Goffin (sig) <sig@openerp.com>
Please register or sign in to comment