From d3c2a202fe42d47c9239fb44ca70127b07fd6ee2 Mon Sep 17 00:00:00 2001 From: Don Kendall Date: Wed, 23 Sep 2026 17:07:39 -0400 Subject: [PATCH] [20.0][OU-ADD] project_*: Nothing to do Every line in these modules' analysis resolves without a migration script, and the work files say which rule each line falls under rather than carrying a bare marker. The rules were settled against the migrated database, not asserted: every stored selection was compared with ir_model_fields_selection, every flagged field was compared across the upgrade for lost values, and every flagged field that is stored and entirely empty on a populated table was read individually. noupdate records the module stops shipping are left in place -- _process_end only removes stale rows whose noupdate is false, and orphan cleanup is the anti-pattern upstream rejected in #5630-5632. 9 modules. Assisted-by: Claude Opus 5 --- docsource/modules190-200.rst | 18 +++++++++--------- .../20.0.1.0/upgrade_analysis.txt | 5 +++++ .../20.0.1.0/upgrade_analysis_work.txt | 6 ++++++ .../20.0.1.0/upgrade_analysis.txt | 4 ++++ .../20.0.1.0/upgrade_analysis_work.txt | 5 +++++ .../20.0.1.0/upgrade_analysis.txt | 4 ++++ .../20.0.1.0/upgrade_analysis_work.txt | 5 +++++ .../project_mrp/20.0.1.0/upgrade_analysis.txt | 8 ++++++++ .../20.0.1.0/upgrade_analysis_work.txt | 10 ++++++++++ .../20.0.1.0/upgrade_analysis.txt | 4 ++++ .../20.0.1.0/upgrade_analysis_work.txt | 5 +++++ .../20.0.1.0/upgrade_analysis.txt | 4 ++++ .../20.0.1.0/upgrade_analysis_work.txt | 5 +++++ .../20.0.1.0/upgrade_analysis.txt | 4 ++++ .../20.0.1.0/upgrade_analysis_work.txt | 5 +++++ .../project_sms/20.0.1.1/upgrade_analysis.txt | 7 +++++++ .../20.0.1.1/upgrade_analysis_work.txt | 8 ++++++++ .../20.0.1.0/upgrade_analysis.txt | 7 +++++++ .../20.0.1.0/upgrade_analysis_work.txt | 10 ++++++++++ 19 files changed, 115 insertions(+), 9 deletions(-) create mode 100644 openupgrade_scripts/scripts/project_account/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_account/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/project_hr_skills/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_hr_skills/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/project_mail_plugin/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_mail_plugin/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/project_mrp/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_mrp/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/project_mrp_account/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_mrp_account/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/project_purchase/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_purchase/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/project_sale_expense/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_sale_expense/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/project_sms/20.0.1.1/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_sms/20.0.1.1/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/project_timesheet_holidays/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/project_timesheet_holidays/20.0.1.0/upgrade_analysis_work.txt diff --git a/docsource/modules190-200.rst b/docsource/modules190-200.rst index 8da46d62bbc..f52662160e5 100644 --- a/docsource/modules190-200.rst +++ b/docsource/modules190-200.rst @@ -910,29 +910,29 @@ Module coverage 19.0 -> 20.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | project | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_account | | | +| project_account |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | project_hr_expense | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_hr_skills | | | +| project_hr_skills |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_mail_plugin | | | +| project_mail_plugin |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_mrp | | | +| project_mrp |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_mrp_account | | | +| project_mrp_account |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | project_mrp_sale | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ | project_mrp_stock_landed_costs | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_purchase | | | +| project_purchase |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | project_purchase_stock | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_sale_expense | | | +| project_sale_expense |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_sms | | | +| project_sms |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | project_stock | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -940,7 +940,7 @@ Module coverage 19.0 -> 20.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | project_stock_landed_costs | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| project_timesheet_holidays | | | +| project_timesheet_holidays |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | project_todo | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/project_account/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_account/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..4ff38a52001 --- /dev/null +++ b/openupgrade_scripts/scripts/project_account/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,5 @@ +---Models in module 'project_account'--- +---Fields in module 'project_account'--- +---XML records in module 'project_account'--- +DEL ir.ui.view: project_account.project_view_account_analytic_line_graph +DEL ir.ui.view: project_account.project_view_account_analytic_line_pivot diff --git a/openupgrade_scripts/scripts/project_account/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_account/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..64e12747428 --- /dev/null +++ b/openupgrade_scripts/scripts/project_account/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'project_account'--- +---Fields in module 'project_account'--- +---XML records in module 'project_account'--- +DEL ir.ui.view: project_account.project_view_account_analytic_line_graph +DEL ir.ui.view: project_account.project_view_account_analytic_line_pivot +# NOTHING TO DO: the record is not noupdate, so the module update removes it diff --git a/openupgrade_scripts/scripts/project_hr_skills/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_hr_skills/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..e21f7de9012 --- /dev/null +++ b/openupgrade_scripts/scripts/project_hr_skills/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'project_hr_skills'--- +---Fields in module 'project_hr_skills'--- +---XML records in module 'project_hr_skills'--- +NEW ir.ui.view: project_hr_skills.view_task_project_user_search_inherit_hr_skills diff --git a/openupgrade_scripts/scripts/project_hr_skills/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_hr_skills/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..6e42454657b --- /dev/null +++ b/openupgrade_scripts/scripts/project_hr_skills/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'project_hr_skills'--- +---Fields in module 'project_hr_skills'--- +---XML records in module 'project_hr_skills'--- +NEW ir.ui.view: project_hr_skills.view_task_project_user_search_inherit_hr_skills +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/project_mail_plugin/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_mail_plugin/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..cbe5bbbba19 --- /dev/null +++ b/openupgrade_scripts/scripts/project_mail_plugin/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'project_mail_plugin'--- +---Fields in module 'project_mail_plugin'--- +---XML records in module 'project_mail_plugin'--- +DEL ir.actions.act_window: project_mail_plugin.project_task_action_form_edit diff --git a/openupgrade_scripts/scripts/project_mail_plugin/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_mail_plugin/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..86b10b4b867 --- /dev/null +++ b/openupgrade_scripts/scripts/project_mail_plugin/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'project_mail_plugin'--- +---Fields in module 'project_mail_plugin'--- +---XML records in module 'project_mail_plugin'--- +DEL ir.actions.act_window: project_mail_plugin.project_task_action_form_edit +# NOTHING TO DO: the record is not noupdate, so the module update removes it diff --git a/openupgrade_scripts/scripts/project_mrp/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_mrp/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..39e78a648c6 --- /dev/null +++ b/openupgrade_scripts/scripts/project_mrp/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,8 @@ +---Models in module 'project_mrp'--- +---Fields in module 'project_mrp'--- +---XML records in module 'project_mrp'--- +NEW ir.access: project_mrp.access_mrp_bom_line_project_user +NEW ir.access: project_mrp.access_mrp_bom_project_user +DEL ir.model.access: project_mrp.access_mrp_bom_line_project_user +DEL ir.model.access: project_mrp.access_mrp_bom_project_user +NEW ir.ui.view: project_mrp.project_view_form_inherit_project_mrp diff --git a/openupgrade_scripts/scripts/project_mrp/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_mrp/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..fdc8fc7c5b4 --- /dev/null +++ b/openupgrade_scripts/scripts/project_mrp/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,10 @@ +---Models in module 'project_mrp'--- +---Fields in module 'project_mrp'--- +---XML records in module 'project_mrp'--- +NEW ir.access: project_mrp.access_mrp_bom_line_project_user +NEW ir.access: project_mrp.access_mrp_bom_project_user +DEL ir.model.access: project_mrp.access_mrp_bom_line_project_user +DEL ir.model.access: project_mrp.access_mrp_bom_project_user +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +NEW ir.ui.view: project_mrp.project_view_form_inherit_project_mrp +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/project_mrp_account/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_mrp_account/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..a055fdf01f2 --- /dev/null +++ b/openupgrade_scripts/scripts/project_mrp_account/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'project_mrp_account'--- +---Fields in module 'project_mrp_account'--- +---XML records in module 'project_mrp_account'--- +NEW ir.ui.view: project_mrp_account.view_picking_type_form_inherit_project_mrp_account diff --git a/openupgrade_scripts/scripts/project_mrp_account/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_mrp_account/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..c0605385fdc --- /dev/null +++ b/openupgrade_scripts/scripts/project_mrp_account/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'project_mrp_account'--- +---Fields in module 'project_mrp_account'--- +---XML records in module 'project_mrp_account'--- +NEW ir.ui.view: project_mrp_account.view_picking_type_form_inherit_project_mrp_account +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/project_purchase/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_purchase/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..c581dfacfff --- /dev/null +++ b/openupgrade_scripts/scripts/project_purchase/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'project_purchase'--- +---Fields in module 'project_purchase'--- +---XML records in module 'project_purchase'--- +NEW ir.ui.view: project_purchase.project_view_form_inherit_project_purchase diff --git a/openupgrade_scripts/scripts/project_purchase/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_purchase/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..f2bfe469e7e --- /dev/null +++ b/openupgrade_scripts/scripts/project_purchase/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'project_purchase'--- +---Fields in module 'project_purchase'--- +---XML records in module 'project_purchase'--- +NEW ir.ui.view: project_purchase.project_view_form_inherit_project_purchase +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/project_sale_expense/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_sale_expense/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..459f9b4d46c --- /dev/null +++ b/openupgrade_scripts/scripts/project_sale_expense/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,4 @@ +---Models in module 'project_sale_expense'--- +---Fields in module 'project_sale_expense'--- +project_sale_expense / account.analytic.line / category (False) : NEW selection_keys: ['expense', 'invoice', 'manufacturing_order', 'other', 'picking_entry', 'vendor_bill'], mode: modify +---XML records in module 'project_sale_expense'--- diff --git a/openupgrade_scripts/scripts/project_sale_expense/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_sale_expense/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..521d4db848b --- /dev/null +++ b/openupgrade_scripts/scripts/project_sale_expense/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,5 @@ +---Models in module 'project_sale_expense'--- +---Fields in module 'project_sale_expense'--- +project_sale_expense / account.analytic.line / category (False) : NEW selection_keys: ['expense', 'invoice', 'manufacturing_order', 'other', 'picking_entry', 'vendor_bill'], mode: modify +# NOTHING TO DO: keys were added to the selection, the existing values stay valid +---XML records in module 'project_sale_expense'--- diff --git a/openupgrade_scripts/scripts/project_sms/20.0.1.1/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_sms/20.0.1.1/upgrade_analysis.txt new file mode 100644 index 00000000000..5320a158d8e --- /dev/null +++ b/openupgrade_scripts/scripts/project_sms/20.0.1.1/upgrade_analysis.txt @@ -0,0 +1,7 @@ +---Models in module 'project_sms'--- +---Fields in module 'project_sms'--- +---XML records in module 'project_sms'--- +NEW ir.access: project_sms.access_sms_template_project_manager +NEW ir.access: project_sms.ir_rule_sms_template_project_manager +DEL ir.model.access: project_sms.access_sms_template_project_manager +DEL ir.rule: project_sms.ir_rule_sms_template_project_manager (noupdate) diff --git a/openupgrade_scripts/scripts/project_sms/20.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_sms/20.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 00000000000..62892187562 --- /dev/null +++ b/openupgrade_scripts/scripts/project_sms/20.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'project_sms'--- +---Fields in module 'project_sms'--- +---XML records in module 'project_sms'--- +NEW ir.access: project_sms.access_sms_template_project_manager +NEW ir.access: project_sms.ir_rule_sms_template_project_manager +DEL ir.model.access: project_sms.access_sms_template_project_manager +DEL ir.rule: project_sms.ir_rule_sms_template_project_manager (noupdate) +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids diff --git a/openupgrade_scripts/scripts/project_timesheet_holidays/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/project_timesheet_holidays/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..ba9f1184f5c --- /dev/null +++ b/openupgrade_scripts/scripts/project_timesheet_holidays/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,7 @@ +---Models in module 'project_timesheet_holidays'--- +---Fields in module 'project_timesheet_holidays'--- +---XML records in module 'project_timesheet_holidays'--- +NEW ir.access: project_timesheet_holidays.access_account_analytic_account_leaves_manager +DEL ir.model.access: project_timesheet_holidays.access_account_analytic_account_leaves_manager +NEW ir.model.constraint: project_timesheet_holidays.constraint_account_analytic_line_is_timeoff_task_idx +ir.model.constraint: project_timesheet_holidays.constraint_account_analytic_line_timeoff_timesheet_idx (changed definition: is now 'False' ('INDEX (task_id) WHERE (global_leave_id IS NOT NULL OR holiday_id IS NOT NULL) AND project_id IS NOT NULL')) diff --git a/openupgrade_scripts/scripts/project_timesheet_holidays/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/project_timesheet_holidays/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..b19ea58a54f --- /dev/null +++ b/openupgrade_scripts/scripts/project_timesheet_holidays/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,10 @@ +---Models in module 'project_timesheet_holidays'--- +---Fields in module 'project_timesheet_holidays'--- +---XML records in module 'project_timesheet_holidays'--- +NEW ir.access: project_timesheet_holidays.access_account_analytic_account_leaves_manager +DEL ir.model.access: project_timesheet_holidays.access_account_analytic_account_leaves_manager +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +NEW ir.model.constraint: project_timesheet_holidays.constraint_account_analytic_line_is_timeoff_task_idx +# NOTHING TO DO: the record is not noupdate, so the module update creates it +ir.model.constraint: project_timesheet_holidays.constraint_account_analytic_line_timeoff_timesheet_idx (changed definition: is now 'False' ('INDEX (task_id) WHERE (global_leave_id IS NOT NULL OR holiday_id IS NOT NULL) AND project_id IS NOT NULL')) +# NOTHING TO DO: the record is not noupdate, so the module update rewrites it