When starting an onboarding/offboarding plan on an employee, activities were only created for the users that were part of the HR Officer group. Regular users can't access the `hr.employee` model and it's not possible to have activities on `hr.employee.public`. A new model has been created to manage those activities and is only accessible to the user and their manager. task-3151758 closes odoo/odoo#111505 Signed-off-by: Kevin Baptiste <kba@odoo.com>
25 lines
699 B
Python
25 lines
699 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import hr_contract_type
|
|
from . import hr_employee_base
|
|
from . import hr_employee
|
|
from . import hr_employee_category
|
|
from . import hr_employee_public
|
|
from . import hr_department
|
|
from . import hr_departure_reason
|
|
from . import hr_job
|
|
from . import hr_plan
|
|
from . import hr_plan_activity_type
|
|
from . import hr_plan_employee_activity
|
|
from . import hr_work_location
|
|
from . import mail_alias
|
|
from . import mail_channel
|
|
from . import models
|
|
from . import res_config_settings
|
|
from . import res_partner
|
|
from . import res_users
|
|
from . import res_company
|
|
from . import resource
|
|
from . import ir_ui_menu
|