summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorHardik Prajapati <hpr@odoo.com>2020-04-24 08:21:39 +0000
committerYannick Tivisse <yti@odoo.com>2020-06-23 11:53:45 +0000
commit999507007efbed4f99b04f2a646971b741cc2612 (patch)
tree2ee1d95b56f6222eace497c915e60ac058f36b4b /addons/web/static/src/js/fields/basic_fields.js
parent3ad85b6f06d4924d08bcfaf55b3694eaf8fbc7f1 (diff)
[IMP] hr: Sync some data between user and employee
Purpose of the task is to improve the employee image and phone behaviour while changing the user. So in this commit, IF there is no pitcure on employee then apply the image of user while adding the user to employee from cretae, write and onchage. do not change the employee image if employee image is already set while creating employee or changing the user on employee. Also improve the phone behaviour when changing the company, - Never change the mobile_phone when switching the company on employee - Always change the work_phone when switching the company, except if empty on res.company. closes odoo/odoo#50115 Taskid: 2240167 Closes: #50115 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions