-
-
Notifications
You must be signed in to change notification settings - Fork 827
[19.0][MIG] hr_*: analyses for simple submodules #5634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
openupgrade_scripts/scripts/hr_calendar/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
14 changes: 14 additions & 0 deletions
14
openupgrade_scripts/scripts/hr_fleet/19.0.1.0/pre-migration.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| from openupgradelib import openupgrade | ||
|
|
||
| _xmlids_to_delete = [ | ||
| "hr_fleet.fleet_rule_contract_visibility_user", | ||
| "hr_fleet.fleet_rule_odometer_visibility_user", | ||
| "hr_fleet.fleet_rule_service_visibility_user", | ||
| "hr_fleet.fleet_rule_vehicle_visibility_user", | ||
| "hr_fleet.res_users_view_form_preferences", | ||
| ] | ||
|
|
||
|
|
||
| @openupgrade.migrate() | ||
| def migrate(env, version): | ||
| openupgrade.delete_records_safely_by_xml_id(env, _xmlids_to_delete) |
9 changes: 9 additions & 0 deletions
9
openupgrade_scripts/scripts/hr_fleet/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| ---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 | ||
| # DONE: delete_records_safely_by_xml_id in pre-migration. | ||
12 changes: 12 additions & 0 deletions
12
openupgrade_scripts/scripts/hr_gamification/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
8 changes: 8 additions & 0 deletions
8
openupgrade_scripts/scripts/hr_homeworking/19.0.2.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
10 changes: 10 additions & 0 deletions
10
openupgrade_scripts/scripts/hr_livechat/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
12 changes: 12 additions & 0 deletions
12
openupgrade_scripts/scripts/hr_maintenance/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
10 changes: 10 additions & 0 deletions
10
openupgrade_scripts/scripts/hr_org_chart/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
6 changes: 6 additions & 0 deletions
6
openupgrade_scripts/scripts/hr_presence/19.0.1.0/post-migration.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| from openupgradelib import openupgrade | ||
|
|
||
|
|
||
| @openupgrade.migrate() | ||
| def migrate(env, version): | ||
| openupgrade.load_data(env, "hr_presence", "19.0.1.0/noupdate_changes.xml") |
7 changes: 7 additions & 0 deletions
7
openupgrade_scripts/scripts/hr_presence/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ---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: Odoo's -u all cleanup removes orphan views. | ||
|
|
||
| # DONE: noupdate_changes.xml loaded in post-migration. |
10 changes: 10 additions & 0 deletions
10
openupgrade_scripts/scripts/hr_recruitment_sms/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
6 changes: 6 additions & 0 deletions
6
openupgrade_scripts/scripts/hr_recruitment_survey/19.0.1.0/post-migration.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| from openupgradelib import openupgrade | ||
|
|
||
|
|
||
| @openupgrade.migrate() | ||
| def migrate(env, version): | ||
| openupgrade.load_data(env, "hr_recruitment_survey", "19.0.1.0/noupdate_changes.xml") |
16 changes: 16 additions & 0 deletions
16
openupgrade_scripts/scripts/hr_skills_event/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
24 changes: 24 additions & 0 deletions
24
openupgrade_scripts/scripts/hr_skills_slides/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
16 changes: 16 additions & 0 deletions
16
openupgrade_scripts/scripts/hr_skills_survey/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
6 changes: 6 additions & 0 deletions
6
openupgrade_scripts/scripts/hr_timesheet/19.0.1.0/post-migration.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| from openupgradelib import openupgrade | ||
|
|
||
|
|
||
| @openupgrade.migrate() | ||
| def migrate(env, version): | ||
| openupgrade.load_data(env, "hr_timesheet", "19.0.1.0/noupdate_changes.xml") |
28 changes: 28 additions & 0 deletions
28
openupgrade_scripts/scripts/hr_timesheet/19.0.1.0/upgrade_analysis_work.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| ---Models in module 'hr_timesheet'--- | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. needs to load noupdate_changes.xml |
||
| 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 | ||
|
|
||
| # DONE: noupdate_changes.xml loaded in post-migration. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
those need to be deleted using delete_records_safely_by_xml_id