Files
odoo_source/addons/hr_homeworking/models/__init__.py
T
Leonardo Pavan Rocha cbab7b013e [IMP] hr_homeworking: prevent deleting worklocations used by employees
This commit prevents deleting worklocations if they are used as default of an
employee. In case the worklocation is deleted, exceptions using that
worklocation are also deleted.

task-3527196

closes odoo/odoo#137502

Related: odoo/upgrade#5260
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2023-10-12 16:12:04 +00:00

8 lines
212 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import hr_employee
from . import res_partner
from . import res_users
from . import hr_homeworking
from . import hr_work_location