diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-03-29 12:03:11 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-06-13 10:02:10 +0200 |
| commit | 22437e331a60c81a80d619c075a9d516e980c078 (patch) | |
| tree | 9178688c381961b55be5329fbc443b42fb3a0c13 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 55e7b702bb7f01c5f3bd3efbccf82c2d2c661f49 (diff) | |
[IMP] hr_contract: Sync employee and contract calendars mismatch
Purpose
=======
An employee and its current contract should have the same
calendar. Currently, if the contract's calendar is changed,
the employee's calendar is not changed.
In the same way, if a contract is created directly in `open`
state, the employee's calendar is not changed.
Finally, the calendar synchronization when the employee
contract is changed is only done in payroll, for no reason.
Specification
=============
Fix the three issues described above.
If the employee's calendar is nonetheless manually changed, a warning
should be displayed if there is a mismatch between both calendars.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
