diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-04-20 17:42:07 +0000 |
|---|---|---|
| committer | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-04-22 07:28:29 +0000 |
| commit | 7c8ae751f8d0fe6adcd2e7c77cef35389aef2834 (patch) | |
| tree | cb3c1bfd1930be56be97ce69e23ae35433d0c80e /addons/web/static/src | |
| parent | 62c215298efc4ee5dc2ffab8f4421e68aa577838 (diff) | |
[FIX] hr: allow to copy employee linked to user
Before this commit, It was not possible to copy An employee which is already linked to User due `user_uniq` constraints.
Now we add `copy=False` on `user_id` field, so Employee will be copied without linked User.
closes odoo/odoo#49915
X-original-commit: 2a63df03859166414be338c6655ee8c4052666b7
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
