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>
8 lines
212 B
Python
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
|