diff options
| author | Goffin Simon <sig@odoo.com> | 2021-02-10 08:56:54 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2021-02-10 11:44:36 +0000 |
| commit | 8f94577b421a4543670245ebdb4f9b27f5663705 (patch) | |
| tree | 80e89de98a110298766dd198fd963e0322d1ab9c /doc/tutorials.rst | |
| parent | 2df520f0506770bc7b4486d827e2c9117d0d0c68 (diff) | |
[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#65864
X-original-commit: 7f669eb49250b4936ef63e274e44db3222608e8b
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'doc/tutorials.rst')
0 files changed, 0 insertions, 0 deletions
