diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-02-20 14:46:49 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-08-28 17:32:56 +0200 |
| commit | 0312c604f44837dc1c7a5d2fe446d187bc286094 (patch) | |
| tree | b9463e56971ef5899e1826809475fd6ec0886689 /doc | |
| parent | 42e41b191c2fc3abe10aa956d30c3dd913d0e4aa (diff) | |
[FIX] hr_gamification: allow employees to grant each other badges
When creating a new wizard, the related field user_id = employee_id.user_id
forces a write on employee model
Make sure we actually have the same value (to avoid using the wizard to modify
employees) and use sudo to grant the badge.
In master, the field should not be stored
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
