summaryrefslogtreecommitdiff
path: root/odoo/modules/module.py
diff options
context:
space:
mode:
authorfw-bot <otis@odoo.com>2020-02-17 11:18:36 +0000
committerjbm-odoo <jbm@odoo.com>2020-02-19 11:04:40 +0000
commit047e222373918c7b7ff1630c62bca6ec6a425132 (patch)
tree63f713f3400c86628e01efe4f0062c0068273f78 /odoo/modules/module.py
parent3184a911e76d95863ab73e7edb500dcb224df68b (diff)
[FIX] hr_contract: Avoid error when changing template contract stage
Before this commit: When we change a contract to stage 'open', we write this contract on employee. But it causes error when it's a template contract (without employee). After this commit: When we change a contract to stage 'open', we write this contract on employee only if contract has an employee. [FIX] hr_contract: Allow overlapping in template contract Before this commit: We check for all contract that there are no overlapping for a same employee. After this commit: We check that there are no overlapping for contract with employee. [FIX] hr_payroll, hr_holidays: Avoid some constrains with company time off Before this commit: We can't create company (or team) time off if you have 2 or more template contract in your database. We can't create mutliple company or team time off that overlaps. After this commit: We can create company (or team) time off if you have 2 or more template contract in your database. If a time off is set across multiple contract, print those contracts in error message. We can create multiple company or team time off that overlaps. closes odoo/odoo#45696 Taskid: 2196185 X-original-commit: 3fdada6f8f19ae7123d9b35b3e7c557d072c1bc0 Related: odoo/enterprise#8553 Signed-off-by: jbm-odoo <jbm-odoo@users.noreply.github.com>
Diffstat (limited to 'odoo/modules/module.py')
0 files changed, 0 insertions, 0 deletions