summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/frontend/loader_loading.js
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-09-09 08:04:06 +0000
committerYannick Tivisse <yti@odoo.com>2019-09-10 10:41:59 +0000
commitc55c3e7388be8b132078aa0209149faf90c98ae4 (patch)
treedd10aaabd8813f46c82d8f510c2f6f732b5da42f /addons/web_editor/static/src/js/frontend/loader_loading.js
parentd930a78f35ce7f19b614c3adf0f99880b87ad12b (diff)
[FIX] hr_holidays: Restrict employee with leave deletion
It's currently not possible to delete an employee who has leaves => traceback. The employee_id field is set to NULL in the leave table which breaks the `type_value` constraint (same for allocation). It should not be allowed to delete an employee with leaves: for legal puposes in some countries, a record of employee leaves must be kept. Instead of deleting the employee, it should be archived.
Diffstat (limited to 'addons/web_editor/static/src/js/frontend/loader_loading.js')
0 files changed, 0 insertions, 0 deletions