Employees: 19.0 → 20.0
hr · odoo · what changed between two Odoo versions of this module, from the stored manifest and static code analysis (models, views and routes in Dev mode).
Dependencies
+2 / −1
Direct Odoo
depends Models
22
Added, removed or changed
Views
+11 / −2 / ~2
Added / removed / changed
HTTP routes
+3 / −0 / ~0
Added / removed / changed
Security findings
0/0 → 0/0
Grave / minor (static analysis)
Manifest
- Module version
- 1.1 → 1.1
Name, license, category, flags and maintainers are unchanged.
Dependencies
- Odoo modules
- + auth_signup+ web_hierarchy − web
Models 22
hr.bank.account.allocation.wizard.line
changed
Fields
- +
account_numberChar - −
acc_numberChar
hr.contract.type
removed
Fields
- −
codeChar - −
country_idMany2one → res.country - −
nameChar - −
sequenceInteger
hr.department
changed
Public methods
- +
get_record_default_action(self, access_uid=None) - −
get_formview_action(self, access_uid=None)
hr.departure.reason
changed
Fields
- +
activeBoolean
hr.departure.wizard
removed
Fields
- −
departure_dateDate - −
departure_descriptionHtml - −
departure_reason_idMany2one → hr.departure.reason - −
employee_idsMany2many → hr.employee - −
is_user_employeeBoolean - −
remove_related_userBoolean - −
set_date_endBoolean
- −
action_register_departure(self)
hr.employee
changed
Fields
- +
activity_plans_idsMany2many - +
additional_noteText - +
ageInteger - +
birthday_monthSelection - +
child_all_countInteger - +
child_countInteger - +
contract_template_idMany2one → hr.version - +
department_colorInteger - +
departure_action_dateDate - +
departure_apply_dateDate - +
departure_apply_immediatelyBoolean - +
departure_dateDate - +
departure_descriptionHtml - +
departure_idMany2one - +
departure_reason_idMany2one - +
dismissal_dateDate - +
driving_license_nameChar - +
emergency_phone_formattedChar - +
emergency_phone_sanitizedChar - +
employee_type_idMany2one - +
exceptional_location_idMany2one → hr.work.location - +
first_contract_dateDate - +
fixed_termBoolean - +
friday_location_idMany2one → hr.work.location - +
hourly_costMonetary - +
hr_responsible_idMany2one - +
id_card_nameChar - +
is_subordinateBoolean - +
mobile_phone_formattedChar - +
mobile_phone_sanitizedChar - +
monday_location_idMany2one → hr.work.location - +
nationality_country_codeChar - +
parent_company_idMany2one - +
phone_blacklistedBoolean - +
phone_mobile_searchChar - +
phone_sanitized_blacklistedBoolean - +
private_phone_formattedChar - +
private_phone_sanitizedChar - +
saturday_location_idMany2one → hr.work.location - +
split_legal_nameBoolean - +
subordinate_idsOne2many → hr.employee - +
sunday_location_idMany2one → hr.work.location - +
thursday_location_idMany2one → hr.work.location - +
today_location_nameChar - +
tuesday_location_idMany2one → hr.work.location - +
user_stateSelection - +
wednesday_location_idMany2one → hr.work.location - +
work_phone_formattedChar - +
work_phone_sanitizedChar - −
contract_type_idMany2one - −
contract_wageMonetary - −
im_statusChar - −
is_user_activeBoolean - −
private_car_plateChar - −
study_schoolChar
- +
action_cancel_departure(self) - +
action_copy_invitation_link(self) - +
action_deactivate_user_and_depart(self) - +
action_new_departure(self) - +
action_reset_password(self) - +
action_send_invitation(self) - +
action_toggle_user_active(self) - +
cycles_in_hierarchy_read(self, domain) - +
formatted_employee_attendance_intervals(self, start, stop) - +
get_multi_version_changes(self, version_changes) - +
get_record_default_action(self, access_uid=None) - +
is_onboarding(self, company_ids) - +
load_demo_data(self) - −
action_create_user(self) - −
action_create_users(self) - −
action_create_users_confirmation(self) - −
action_unarchive(self) - −
check_field_access_rights(self, operation, field_names) - −
get_avatar_card_data(self, fields) - −
get_formview_action(self, access_uid=None)
hr.employee.create.version.wizard
added
Fields
- +
date_versionDate - +
employee_countInteger
- +
action_create_versions(self)
hr.employee.departure
added
Fields
- +
action_dateDate - +
apply_dateDate - +
apply_immediatelyBoolean - +
country_codeChar - +
departure_dateDate - +
departure_descriptionHtml - +
departure_reason_idMany2one → hr.departure.reason - +
dismissal_dateDate - +
employee_idMany2one → hr.employee - +
is_user_employeeBoolean - +
last_contract_date_endDate
- +
action_register(self) - +
action_schedule(self) - +
create(self, vals_list)
hr.employee.location
added
Fields
- +
dateDate - +
day_week_stringChar - +
employee_idMany2one → hr.employee - +
employee_nameChar - +
work_location_idMany2one → hr.work.location - +
work_location_nameChar - +
work_location_typeSelection
hr.employee.public
changed
Fields
- +
child_all_countInteger - +
child_countInteger - +
department_colorInteger - +
friday_location_idMany2one → hr.work.location - +
hours_per_dayFloat - +
hours_per_weekFloat - +
is_subordinateBoolean - +
mobile_phone_formattedChar - +
mobile_phone_sanitizedChar - +
monday_location_idMany2one → hr.work.location - +
phone_formattedChar - +
phone_sanitizedChar - +
saturday_location_idMany2one → hr.work.location - +
subordinate_idsOne2many - +
sunday_location_idMany2one → hr.work.location - +
thursday_location_idMany2one → hr.work.location - +
today_location_nameChar - +
tuesday_location_idMany2one → hr.work.location - +
wednesday_location_idMany2one → hr.work.location - +
work_phone_formattedChar - +
work_phone_sanitizedChar - −
im_statusChar
- −
get_avatar_card_data(self, fields)
hr.employee.type
added
Fields
- +
codeChar - +
company_idMany2one → res.company - +
country_codeChar - +
country_idMany2one → res.country - +
employee_idsOne2many → hr.employee - +
employees_countInteger - +
nameChar - +
sequenceInteger
- +
action_open_employees(self)
hr.job
changed
Fields
- +
company_country_codeChar - +
employee_type_idMany2one → hr.employee.type - +
recruiter_idMany2one → hr.employee - −
allowed_user_idsMany2many → res.users - −
contract_type_idMany2one → hr.contract.type - −
user_idMany2one → res.users
- −
copy_data(self, default=None)
hr.version
changed
Fields
- +
departure_action_dateDate - +
departure_apply_dateDate - +
departure_apply_immediatelyBoolean - +
departure_idMany2one → hr.employee.departure - +
dismissal_dateDate - +
employee_type_idMany2one → hr.employee.type - +
fixed_termBoolean - −
additional_noteText - −
contract_type_idMany2one → hr.contract.type - −
contract_wageMonetary - −
employee_typeSelection - −
is_flexibleBoolean - −
is_fully_flexibleBoolean - −
ssnidChar - ~
departure_reason_idMany2one → hr.departure.reason→ Many2one
- +
get_record_default_action(self, access_uid=None) - −
get_formview_action(self, access_uid=None)
hr.version.wizard
removed
Fields
- −
contract_template_idMany2one → hr.version
- −
action_load_template(self)
hr.work.location
changed
Fields
- +
country_codeChar - +
currency_idMany2one → res.currency - +
iconChar
mail.activity
added
Fields
- +
technical_usageSelection
publisher_warranty.contract
added
res.config.settings
changed
Fields
- +
company_tzSelection - +
hr_presence_control_attendanceBoolean - −
module_hr_attendanceBoolean
- +
set_values(self)
res.partner.bank
changed
Fields
- −
bank_cityChar - −
bank_countryMany2one - −
bank_emailChar - −
bank_phoneChar - −
bank_stateMany2one - −
bank_streetChar - −
bank_street2Char - −
bank_zipChar
res.users
changed
Fields
- +
all_employee_idsOne2many → hr.employee - +
birthdayDate - +
birthday_public_displayBoolean - +
department_idMany2one - +
employee_public_idsOne2many → hr.employee.public - +
friday_location_idMany2one → hr.work.location - +
monday_location_idMany2one → hr.work.location - +
saturday_location_idMany2one → hr.work.location - +
sunday_location_idMany2one → hr.work.location - +
thursday_location_idMany2one → hr.work.location - +
tuesday_location_idMany2one → hr.work.location - +
wednesday_location_idMany2one → hr.work.location - ~
bank_account_idsMany2many→ Many2many → res.partner.bank - ~
category_idsMany2many→ Many2many → hr.employee.category - ~
private_country_idMany2one→ Many2one → res.country - ~
private_state_idMany2one→ Many2one → res.country.state - ~
work_contact_idMany2one→ Many2one → res.partner - ~
work_location_idMany2one→ Many2one → hr.work.location
- +
get_record_default_action(self, access_uid=None) - −
SELF_READABLE_FIELDS(self) - −
SELF_WRITEABLE_FIELDS(self) - −
get_formview_action(self, access_uid=None) - −
get_view(self, view_id=None, view_type='form', **options) - −
get_views(self, views, options=None)
resource.calendar
changed
Fields
- +
employees_countInteger - +
material_resources_countInteger - +
version_idsOne2many → hr.version
- +
action_duplicate_and_apply_to_employee(self) - +
action_view_employees(self) - +
write(self, vals)
resource.resource
changed
Fields
- +
tzSelection
Views
- +
hr_department_hierarchy_viewview on hr.department - +
hr_employee_create_version_wizard_view_formform on hr.employee.create.version.wizard - +
hr_employee_departure_view_formform on hr.employee.departure - +
hr_employee_hierarchy_viewview on hr.employee - +
hr_employee_public_hierarchy_viewview on hr.employee.public - +
hr_version_list_view_enhancedlist on hr.version - +
hr_version_search_view_enhancedsearch on hr.version - +
res_users_view_listlist on res.users, inherits base.view_users_tree - +
resource_calendar_form_view_inherit_hrform on resource.calendar, inherits resource.resource_calendar_form - +
resource_resource_form_view_inherit_hrform on resource.resource, inherits resource.resource_resource_form - +
resource_resource_tree_view_inherit_hrtree on resource.resource, inherits resource.resource_resource_tree - −
hr_departure_wizard_view_formform on hr.departure.wizard - −
hr_version_wizard_view_formform on hr.version.wizard - ~
hr_contract_type_view_formform on hr.contract.type→ form on hr.employee.type - ~
hr_contract_type_view_treelist on hr.contract.type→ list on hr.employee.type
HTTP routes
- +
/hr/get_org_chartauth=user, type=jsonrpc - +
/hr/get_redirect_modelauth=user, type=jsonrpc - +
/hr/get_subordinatesauth=user, type=jsonrpc
Static analysis of each version's latest snapshot: migration notes for the target version are on the module page. Also available as JSON: /v1/compare/hr.