From f9e80d8e762fecc6d2dfeb66435272011d078797 Mon Sep 17 00:00:00 2001 From: Don Kendall Date: Tue, 19 May 2026 09:52:17 -0400 Subject: [PATCH] [MIG] hr_*: analysis annotations for simple submodules --- docsource/modules180-190.rst | 30 +++++++++---------- .../19.0.1.0/upgrade_analysis_work.txt | 12 ++++++++ .../19.0.1.0/upgrade_analysis_work.txt | 12 ++++++++ .../19.0.1.0/upgrade_analysis_work.txt | 12 ++++++++ .../19.0.2.0/upgrade_analysis_work.txt | 8 +++++ .../19.0.1.0/upgrade_analysis_work.txt | 10 +++++++ .../19.0.1.0/upgrade_analysis_work.txt | 12 ++++++++ .../19.0.1.0/upgrade_analysis_work.txt | 10 +++++++ .../hr_presence/19.0.1.0/noupdate_changes.xml | 2 ++ .../19.0.1.0/upgrade_analysis_work.txt | 8 +++++ .../19.0.1.0/upgrade_analysis_work.txt | 10 +++++++ .../19.0.1.0/noupdate_changes.xml | 2 ++ .../19.0.1.0/upgrade_analysis_work.txt | 16 ++++++++++ .../19.0.1.0/upgrade_analysis_work.txt | 24 +++++++++++++++ .../19.0.1.0/upgrade_analysis_work.txt | 16 ++++++++++ .../19.0.1.0/upgrade_analysis_work.txt | 27 +++++++++++++++++ 16 files changed, 196 insertions(+), 15 deletions(-) create mode 100644 openupgrade_scripts/scripts/hr_calendar/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_fleet/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_gamification/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_homeworking/19.0.2.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_livechat/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_maintenance/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_org_chart/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_presence/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_recruitment_sms/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_skills_event/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_skills_slides/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_skills_survey/19.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/hr_timesheet/19.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules180-190.rst b/docsource/modules180-190.rst index e7f797ce0766..ccfbeb57820a 100644 --- a/docsource/modules180-190.rst +++ b/docsource/modules180-190.rst @@ -170,15 +170,15 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_attendance | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_calendar | | | +| hr_calendar |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ | |del| hr_contract | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_expense |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_fleet | | | +| hr_fleet |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_gamification | | | +| hr_gamification |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_holidays |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -186,37 +186,37 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | |del| hr_holidays_contract | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_homeworking | | | +| hr_homeworking |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_homeworking_calendar | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_hourly_cost | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_livechat | | | +| hr_livechat |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_maintenance | | | +| hr_maintenance |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_org_chart | | | +| hr_org_chart |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_presence | | | +| hr_presence |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_recruitment |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_recruitment_skills | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_recruitment_sms | | | +| hr_recruitment_sms |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_recruitment_survey | |No DB layout changes. | +| hr_recruitment_survey |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_skills | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| |new| hr_skills_event | | | +| |new| hr_skills_event |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_skills_slides | | | +| hr_skills_slides |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_skills_survey | | | +| hr_skills_survey |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_timesheet | | | +| hr_timesheet |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_timesheet_attendance | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -224,7 +224,7 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | |del| hr_work_entry_contract | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_work_entry_holidays | |No DB layout changes. | +| hr_work_entry_holidays |Done |Nothing to do | +---------------------------------------------------+----------------------+-------------------------------------------------+ | |new| html_builder |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/hr_calendar/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_calendar/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..b669d1c20875 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_calendar/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'hr_calendar'--- + +---Fields in module 'hr_calendar'--- +hr_calendar / calendar.event / unavailable_partner_ids (many2many): module is now 'calendar' ('hr_calendar') + +# NOTHING TO DO + +---XML records in module 'hr_calendar'--- +DEL ir.ui.view: hr_calendar.view_calendar_event_form +DEL ir.ui.view: hr_calendar.view_calendar_event_form_quick_create + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_fleet/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_fleet/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..28688ce8953f --- /dev/null +++ b/openupgrade_scripts/scripts/hr_fleet/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'hr_fleet'--- + +---Fields in module 'hr_fleet'--- + +---XML records in module 'hr_fleet'--- +DEL ir.rule: hr_fleet.fleet_rule_contract_visibility_user (noupdate) +DEL ir.rule: hr_fleet.fleet_rule_odometer_visibility_user (noupdate) +DEL ir.rule: hr_fleet.fleet_rule_service_visibility_user (noupdate) +DEL ir.rule: hr_fleet.fleet_rule_vehicle_visibility_user (noupdate) +DEL ir.ui.view: hr_fleet.res_users_view_form_preferences + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_gamification/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_gamification/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..a5799f1750e2 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_gamification/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'hr_gamification'--- + +---Fields in module 'hr_gamification'--- + +---XML records in module 'hr_gamification'--- +NEW ir.model.access: hr_gamification.badge_base_user +NEW ir.rule: hr_gamification.hr_gamification_badge_base_user_not_owned_access (noupdate) +NEW ir.rule: hr_gamification.hr_gamification_badge_base_user_owned_access (noupdate) +NEW ir.rule: hr_gamification.hr_gamification_badge_group_hr_user_access (noupdate) +NEW ir.ui.view: hr_gamification.view_current_badge_form + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_homeworking/19.0.2.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_homeworking/19.0.2.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..e4c30b88afcb --- /dev/null +++ b/openupgrade_scripts/scripts/hr_homeworking/19.0.2.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'hr_homeworking'--- + +---Fields in module 'hr_homeworking'--- + +---XML records in module 'hr_homeworking'--- +NEW ir.ui.view: hr_homeworking.res_users_view_form + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_livechat/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_livechat/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..062656ddd22d --- /dev/null +++ b/openupgrade_scripts/scripts/hr_livechat/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,10 @@ +---Models in module 'hr_livechat'--- + +---Fields in module 'hr_livechat'--- + +---XML records in module 'hr_livechat'--- +NEW ir.ui.view: hr_livechat.discuss_channel_looking_for_help_view_search +NEW ir.ui.view: hr_livechat.im_livechat_report_channel_view_search +NEW ir.ui.view: hr_livechat.website_livechat_agent_history_view_search + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_maintenance/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_maintenance/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..05b0a2877671 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_maintenance/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'hr_maintenance'--- + +---Fields in module 'hr_maintenance'--- +hr_maintenance / res.users / equipment_ids (one2many) : DEL relation: maintenance.equipment + +# NOTHING TO DO + +---XML records in module 'hr_maintenance'--- +NEW ir.ui.view: hr_maintenance.hr_employee_public_view_form +DEL ir.ui.view: hr_maintenance.res_users_view_form_preference + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_org_chart/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_org_chart/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..b2d43d9b2407 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_org_chart/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,10 @@ +---Models in module 'hr_org_chart'--- + +---Fields in module 'hr_org_chart'--- + +---XML records in module 'hr_org_chart'--- +NEW ir.actions.act_window: hr_org_chart.action_hr_employee_public_org_chart +DEL ir.ui.menu: hr_org_chart.menu_hr_employee_org_chart +DEL ir.ui.view: hr_org_chart.res_users_view_form + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_presence/19.0.1.0/noupdate_changes.xml b/openupgrade_scripts/scripts/hr_presence/19.0.1.0/noupdate_changes.xml index 9be71c78cc3f..7602978c1ec9 100644 --- a/openupgrade_scripts/scripts/hr_presence/19.0.1.0/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/hr_presence/19.0.1.0/noupdate_changes.xml @@ -1,7 +1,9 @@ + diff --git a/openupgrade_scripts/scripts/hr_presence/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_presence/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..c8cb4444324a --- /dev/null +++ b/openupgrade_scripts/scripts/hr_presence/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'hr_presence'--- + +---Fields in module 'hr_presence'--- + +---XML records in module 'hr_presence'--- +DEL ir.ui.view: hr_presence.hr_employee_view_tree + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_recruitment_sms/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_recruitment_sms/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..c86b2498058c --- /dev/null +++ b/openupgrade_scripts/scripts/hr_recruitment_sms/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,10 @@ +---Models in module 'hr_recruitment_sms'--- + +---Fields in module 'hr_recruitment_sms'--- + +---XML records in module 'hr_recruitment_sms'--- +DEL ir.actions.act_window: hr_recruitment_sms.action_hr_applicant_mass_sms +DEL ir.actions.act_window: hr_recruitment_sms.action_hr_candidate_mass_sms +NEW ir.actions.server: hr_recruitment_sms.action_applicant_send_sms + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_recruitment_survey/19.0.1.0/noupdate_changes.xml b/openupgrade_scripts/scripts/hr_recruitment_survey/19.0.1.0/noupdate_changes.xml index ac6715320ddf..fdd9df2f54fe 100644 --- a/openupgrade_scripts/scripts/hr_recruitment_survey/19.0.1.0/noupdate_changes.xml +++ b/openupgrade_scripts/scripts/hr_recruitment_survey/19.0.1.0/noupdate_changes.xml @@ -1,5 +1,6 @@ + diff --git a/openupgrade_scripts/scripts/hr_skills_event/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_skills_event/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..f58ca86b4612 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_skills_event/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,16 @@ +---Models in module 'hr_skills_event'--- + +---Fields in module 'hr_skills_event'--- +hr_skills_event / hr.resume.line / course_type (False) : NEW selection_keys: ['external', 'onsite'], mode: modify +hr_skills_event / hr.resume.line / event_id (many2one) : NEW relation: event.event, isfunction: function, stored + +# NOTHING TO DO + +---XML records in module 'hr_skills_event'--- +NEW ir.actions.act_window: hr_skills_event.event_training_onsite_action +NEW ir.ui.menu: hr_skills_event.menu_learnings_training_attendances_onsite +NEW ir.ui.view: hr_skills_event.resume_slides_line_view_form +NEW ir.ui.view: hr_skills_event.resume_slides_line_view_kanban +NEW ir.ui.view: hr_skills_event.resume_slides_line_view_list + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_skills_slides/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_skills_slides/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..e7b89b81c907 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_skills_slides/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,24 @@ +---Models in module 'hr_skills_slides'--- + +---Fields in module 'hr_skills_slides'--- +hr_skills_slides / hr.resume.line / channel_id (many2one) : now a function +hr_skills_slides / hr.resume.line / course_type (False) : NEW selection_keys: ['elearning', 'external', 'onsite'], mode: modify +hr_skills_slides / hr.resume.line / course_url (char) : not a function anymore +hr_skills_slides / hr.resume.line / course_url (char) : now related +hr_skills_slides / hr.resume.line / display_type (False) : DEL selection_keys: ['certification', 'classic', 'course'], mode: modify +hr_skills_slides / hr.resume.line / duration (False) : NEW mode: modify, hasdefault: compute + +# NOTHING TO DO + +---XML records in module 'hr_skills_slides'--- +DEL hr.resume.line.type: hr_skills_slides.resume_type_training [renamed to hr_skills module] +NEW ir.actions.act_window: hr_skills_slides.slide_channel_training_elearning_action +NEW ir.ui.menu: hr_skills_slides.menu_learnings_training_attendances_elearning +NEW ir.ui.view: hr_skills_slides.hr_employee_public_resume_view_form_inherit +NEW ir.ui.view: hr_skills_slides.hr_employee_public_view_form +NEW ir.ui.view: hr_skills_slides.hr_employee_resume_view_form_inherit +NEW ir.ui.view: hr_skills_slides.resume_slides_line_view_kanban +NEW ir.ui.view: hr_skills_slides.resume_slides_line_view_list +NEW ir.ui.view: hr_skills_slides.slide_channel_view_list + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_skills_survey/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_skills_survey/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..7482def1d263 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_skills_survey/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,16 @@ +---Models in module 'hr_skills_survey'--- + +---Fields in module 'hr_skills_survey'--- +hr_skills_survey / hr.resume.line / department_id (False) : NEW mode: modify +hr_skills_survey / hr.resume.line / department_id (many2one) : module is now 'hr_skills' ('hr_skills_survey') +hr_skills_survey / hr.resume.line / display_type (False) : DEL selection_keys: ['certification', 'classic'], mode: modify + +# NOTHING TO DO + +---XML records in module 'hr_skills_survey'--- +DEL ir.actions.act_window: hr_skills_survey.hr_employee_certification_report_action [renamed to hr_skills module] +DEL ir.ui.menu: hr_skills_survey.hr_employee_certication_report_menu +DEL ir.ui.view: hr_skills_survey.hr_employee_certification_report_view_list +DEL ir.ui.view: hr_skills_survey.hr_resume_line_view_search + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/hr_timesheet/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/hr_timesheet/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d7f3cc094fb3 --- /dev/null +++ b/openupgrade_scripts/scripts/hr_timesheet/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,27 @@ +---Models in module 'hr_timesheet'--- +new model account.analytic.line.calendar.employee + +# NOTHING TO DO + +---Fields in module 'hr_timesheet'--- +hr_timesheet / account.analytic.line.calendar.employee / active (boolean) : NEW hasdefault: default +hr_timesheet / account.analytic.line.calendar.employee / checked (boolean) : NEW hasdefault: default +hr_timesheet / account.analytic.line.calendar.employee / employee_id (many2one) : NEW relation: hr.employee +hr_timesheet / account.analytic.line.calendar.employee / user_id (many2one) : NEW relation: res.users, required, hasdefault: default +hr_timesheet / project.project / total_timesheet_time (integer): type is now 'float' ('integer') + +# NOTHING TO DO + +---XML records in module 'hr_timesheet'--- +NEW ir.actions.act_window.view: hr_timesheet.act_hr_timesheet_line_view_calendar +NEW ir.actions.act_window.view: hr_timesheet.timesheet_action_view_all_calendar +NEW ir.model.access: hr_timesheet.access_account_analytic_line_calendar_employee +NEW ir.ui.view: hr_timesheet.hr_employee_public_view_form +NEW ir.ui.view: hr_timesheet.hr_employee_view_kanban_inherit_timesheet +NEW ir.ui.view: hr_timesheet.project_templates_view_list_inherit_timesheet +NEW ir.ui.view: hr_timesheet.view_calendar_account_analytic_line +NEW ir.ui.view: hr_timesheet.view_calendar_account_analytic_line_multi_create +NEW ir.ui.view: hr_timesheet.view_calendar_account_analytic_line_my_timesheets +NEW res.groups.privilege: hr_timesheet.res_groups_privilege_timesheets (noupdate) + +# NOTHING TO DO