From 802170bbb8b8eaee40d59156945714cf3b37fc04 Mon Sep 17 00:00:00 2001 From: Don Kendall Date: Fri, 15 May 2026 14:00:48 -0400 Subject: [PATCH] [19.0][MIG] hr_*: analysis annotations for 13 simple submodules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds upgrade_analysis_work.txt for the 13 unclaimed hr_* submodules whose 19.0 deltas are auto-handled by Odoo's standard upgrade flow. Modules covered: hr_calendar, hr_fleet, hr_gamification, hr_homeworking, hr_livechat, hr_maintenance, hr_org_chart, hr_presence, hr_recruitment_sms, hr_skills_event, hr_skills_slides, hr_skills_survey, hr_timesheet. All blocks annotate as # NOTHING TO DO — NEW XML records are created by the 19.0 module load, DEL records are removed by the standard upgrade flow, "module is now 'X' ('Y')" entries are field-ownership shifts that the standard upgrade reconciles, and selection_keys / function-becomes-stored / type changes are auto-handled at registry init. Mirrors hbrunn's existing annotation-only [MIG] PRs ([MIG] bus, [MIG] http_routing, [MIG] resource_mail). The 4 substantial hr_attendance / hr_skills / hr_recruitment_skills / hr_holidays_attendance modules are deliberately split into a companion PR for focused review of the overtime/skills refactor. hr, hr_expense, hr_holidays, hr_work_entry are already done. hr_recruitment (#5612) is in flight by hbrunn. hr_recruitment_survey and hr_work_entry_holidays have no analysis delta — left for a future regen. --- docsource/modules180-190.rst | 26 +++++++++--------- .../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 +++++++ .../19.0.1.0/upgrade_analysis_work.txt | 8 ++++++ .../19.0.1.0/upgrade_analysis_work.txt | 10 +++++++ .../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 +++++++++++++++++++ 14 files changed, 190 insertions(+), 13 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 39d37c51049d..66c5b7dc6f09 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 |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | |del| hr_contract | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_expense |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_fleet | | | +| hr_fleet |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_gamification | | | +| hr_gamification |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_holidays |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -186,37 +186,37 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | |del| hr_holidays_contract | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_homeworking | | | +| hr_homeworking |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_homeworking_calendar | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_hourly_cost | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_livechat | | | +| hr_livechat |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_maintenance | | | +| hr_maintenance |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_org_chart | | | +| hr_org_chart |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_presence | | | +| hr_presence |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_recruitment | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_recruitment_skills | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_recruitment_sms | | | +| hr_recruitment_sms |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_recruitment_survey | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_skills | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| |new| hr_skills_event | | | +| |new| hr_skills_event |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_skills_slides | | | +| hr_skills_slides |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_skills_survey | | | +| hr_skills_survey |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| hr_timesheet | | | +| hr_timesheet |Nothing | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | hr_timesheet_attendance | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ 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/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_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