From 4f89e37e46b33a4f287b6a9ed3acf0cd499abeed Mon Sep 17 00:00:00 2001 From: Don Kendall Date: Wed, 23 Sep 2026 17:07:40 -0400 Subject: [PATCH] [20.0][OU-ADD] crm_*: 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. 6 modules. Assisted-by: Claude Opus 5 --- docsource/modules190-200.rst | 12 +- .../scripts/crm/20.0.1.9/upgrade_analysis.txt | 147 +++++++++++++++ .../crm/20.0.1.9/upgrade_analysis_work.txt | 169 ++++++++++++++++++ .../20.0.1.1/upgrade_analysis.txt | 5 + .../20.0.1.1/upgrade_analysis_work.txt | 6 + .../20.0.1.0/upgrade_analysis.txt | 16 ++ .../20.0.1.0/upgrade_analysis_work.txt | 25 +++ .../20.0.1.0/upgrade_analysis.txt | 5 + .../20.0.1.0/upgrade_analysis_work.txt | 6 + .../20.0.1.0/upgrade_analysis.txt | 9 + .../20.0.1.0/upgrade_analysis_work.txt | 12 ++ .../crm_sms/20.0.1.1/upgrade_analysis.txt | 7 + .../20.0.1.1/upgrade_analysis_work.txt | 8 + 13 files changed, 421 insertions(+), 6 deletions(-) create mode 100644 openupgrade_scripts/scripts/crm/20.0.1.9/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/crm/20.0.1.9/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/crm_iap_enrich/20.0.1.1/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/crm_iap_enrich/20.0.1.1/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/crm_livechat/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/crm_livechat/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/crm_mail_plugin/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/crm_mail_plugin/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/crm_sale_project/20.0.1.0/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/crm_sale_project/20.0.1.0/upgrade_analysis_work.txt create mode 100644 openupgrade_scripts/scripts/crm_sms/20.0.1.1/upgrade_analysis.txt create mode 100644 openupgrade_scripts/scripts/crm_sms/20.0.1.1/upgrade_analysis_work.txt diff --git a/docsource/modules190-200.rst b/docsource/modules190-200.rst index 8da46d62bbc..6d5f3589875 100644 --- a/docsource/modules190-200.rst +++ b/docsource/modules190-200.rst @@ -116,19 +116,19 @@ Module coverage 19.0 -> 20.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | contacts | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| crm | | | +| crm |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| crm_iap_enrich | | | +| crm_iap_enrich |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | crm_iap_mine | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| crm_livechat | | | +| crm_livechat |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| crm_mail_plugin | | | +| crm_mail_plugin |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| |new| crm_sale_project | | | +| |new| crm_sale_project |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| crm_sms | | | +| crm_sms |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | data_recycle | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/crm/20.0.1.9/upgrade_analysis.txt b/openupgrade_scripts/scripts/crm/20.0.1.9/upgrade_analysis.txt new file mode 100644 index 00000000000..8e25a7e70a1 --- /dev/null +++ b/openupgrade_scripts/scripts/crm/20.0.1.9/upgrade_analysis.txt @@ -0,0 +1,147 @@ +---Models in module 'crm'--- +obsolete model crm.lead2opportunity.partner [transient] +---Fields in module 'crm'--- +crm / crm.lead / commercial_partner_id (many2one): DEL relation: res.partner, stored: False +crm / crm.lead / duration_tracking (json) : is now stored +crm / crm.lead / email_cc (char) : DEL +crm / crm.lead / utm_reference (reference) : NEW +crm / crm.lead / website_message_ids (one2many): DEL relation: mail.message +crm / crm.stage / color (integer) : DEL +crm / crm.team.member / assignment_optout (boolean) : DEL +crm / crm.team.member / assignment_rules (selection) : NEW selection_keys: ['limited', 'opt-out', 'unlimited'], hasdefault: compute, stored: False +---XML records in module 'crm'--- +crm.lead.scoring.frequency.field: crm.frequency_field_country_id (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_email_state (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_lang_id (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_phone_state (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_source_id (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_state_id (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_tag_ids (noupdate switched) +crm.lost.reason: crm.lost_reason_1 (noupdate switched) +crm.lost.reason: crm.lost_reason_2 (noupdate switched) +crm.lost.reason: crm.lost_reason_3 (noupdate switched) +crm.recurring.plan: crm.crm_recurring_plan_monthly (noupdate switched) +crm.recurring.plan: crm.crm_recurring_plan_over_3_years (noupdate switched) +crm.recurring.plan: crm.crm_recurring_plan_over_5_years (noupdate switched) +crm.recurring.plan: crm.crm_recurring_plan_yearly (noupdate switched) +crm.stage: crm.stage_lead1 (noupdate switched) +crm.stage: crm.stage_lead2 (noupdate switched) +crm.stage: crm.stage_lead3 (noupdate switched) +crm.stage: crm.stage_lead4 (noupdate switched) +crm.team: sales_team.pos_sales_team (noupdate switched) +crm.team: sales_team.salesteam_website_sales (noupdate switched) +crm.team: sales_team.team_sales_department (noupdate switched) +digest.digest: digest.digest_digest_default (noupdate switched) +NEW ir.access: crm.access_calendar_event_type_sale_manager +NEW ir.access: crm.access_calendar_event_type_sale_user +NEW ir.access: crm.access_crm_lead2opportunity_partner_mass +NEW ir.access: crm.access_crm_lead_lost +NEW ir.access: crm.access_crm_lead_scoring_frequency +NEW ir.access: crm.access_crm_lead_scoring_frequency_field +NEW ir.access: crm.access_crm_lead_scoring_frequency_field_system +NEW ir.access: crm.access_crm_lead_scoring_frequency_system +NEW ir.access: crm.access_crm_lost_reason_manager +NEW ir.access: crm.access_crm_lost_reason_user +NEW ir.access: crm.access_crm_merge_opportunity +NEW ir.access: crm.access_crm_stage +NEW ir.access: crm.access_crm_stage_manager +NEW ir.access: crm.access_mail_activity_plan_sale_manager +NEW ir.access: crm.access_mail_activity_plan_template_sale_manager +NEW ir.access: crm.access_mail_activity_type_sale_manager +NEW ir.access: crm.access_res_partner +NEW ir.access: crm.access_res_partner_category +NEW ir.access: crm.calendar_event_rule_employee +NEW ir.access: crm.calendar_event_rule_employee_1 +NEW ir.access: crm.crm_activity_report_rule_all_activities +NEW ir.access: crm.crm_activity_report_rule_multi_company +NEW ir.access: crm.crm_activity_report_rule_personal_activities +NEW ir.access: crm.crm_lead_company_rule +NEW ir.access: crm.crm_lead_pls_update_access_system +NEW ir.access: crm.crm_recurring_plan_access_manager +NEW ir.access: crm.crm_recurring_plan_access_salesman +NEW ir.access: crm.crm_rule_all_lead +NEW ir.access: crm.crm_rule_all_lead_1 +NEW ir.access: crm.crm_rule_personal_lead +NEW ir.access: crm.mail_plan_rule_group_sale_manager_lead +NEW ir.access: crm.mail_plan_templates_rule_group_sale_manager_lead +NEW ir.access: crm.res_partner_rule_edit_all +NEW ir.access: crm.res_partner_rule_user +ir.actions.act_window: crm.action_opportunity_form (deleted domain) +ir.actions.act_window: crm.crm_case_form_view_salesteams_lead (deleted domain) +ir.actions.act_window: crm.crm_case_form_view_salesteams_opportunity (deleted domain) +ir.actions.act_window: crm.crm_lead_action_forecast (deleted domain) +ir.actions.act_window: crm.crm_lead_action_my_activities (deleted domain) +ir.actions.act_window: crm.crm_lead_action_open_lead_form (deleted domain) +ir.actions.act_window: crm.crm_lead_action_pipeline (deleted domain) +ir.actions.act_window: crm.crm_lead_action_team_overdue_opportunity (deleted domain) +ir.actions.act_window: crm.crm_lead_all_leads (deleted domain) +ir.actions.act_window: crm.crm_lead_opportunities (deleted domain) +ir.actions.act_window: crm.mail_activity_plan_action_lead (deleted domain) +ir.actions.act_window: sales_team.crm_team_action_pipeline (deleted domain) +ir.actions.act_window: sales_team.mail_activity_type_action_config_sales (deleted domain) +DEL ir.actions.act_window: crm.action_crm_lead2opportunity_partner +DEL ir.actions.act_window.view: crm.crm_lead_all_leads_view_calendar +DEL ir.actions.server: crm.action_opportunity_forecast +DEL ir.actions.server: crm.action_your_pipeline +ir.config_parameter: crm.crm_pls_fields_param (noupdate switched) +ir.config_parameter: crm.crm_pls_start_date_param (noupdate switched) +ir.cron: crm.ir_cron_crm_lead_assign (noupdate switched) +DEL ir.model.access: crm.access_calendar_event +DEL ir.model.access: crm.access_calendar_event_manager +DEL ir.model.access: crm.access_calendar_event_type_sale_manager +DEL ir.model.access: crm.access_calendar_event_type_sale_salesman +DEL ir.model.access: crm.access_calendar_event_type_sale_user +DEL ir.model.access: crm.access_crm_activity_report_salesman +DEL ir.model.access: crm.access_crm_activity_report_user +DEL ir.model.access: crm.access_crm_lead +DEL ir.model.access: crm.access_crm_lead2opportunity_partner +DEL ir.model.access: crm.access_crm_lead2opportunity_partner_mass +DEL ir.model.access: crm.access_crm_lead_lost +DEL ir.model.access: crm.access_crm_lead_manager +DEL ir.model.access: crm.access_crm_lead_scoring_frequency +DEL ir.model.access: crm.access_crm_lead_scoring_frequency_field +DEL ir.model.access: crm.access_crm_lead_scoring_frequency_field_system +DEL ir.model.access: crm.access_crm_lead_scoring_frequency_system +DEL ir.model.access: crm.access_crm_lost_reason_manager +DEL ir.model.access: crm.access_crm_lost_reason_salesman +DEL ir.model.access: crm.access_crm_lost_reason_user +DEL ir.model.access: crm.access_crm_merge_opportunity +DEL ir.model.access: crm.access_crm_stage +DEL ir.model.access: crm.access_crm_stage_manager +DEL ir.model.access: crm.access_mail_activity_plan_sale_manager +DEL ir.model.access: crm.access_mail_activity_plan_template_sale_manager +DEL ir.model.access: crm.access_mail_activity_type_sale_manager +DEL ir.model.access: crm.access_res_partner +DEL ir.model.access: crm.access_res_partner_category +DEL ir.model.access: crm.access_res_partner_category_manager +DEL ir.model.access: crm.access_res_partner_manager +DEL ir.model.access: crm.crm_lead_pls_update_access_system +DEL ir.model.access: crm.crm_recurring_plan_access_manager +DEL ir.model.access: crm.crm_recurring_plan_access_salesman +ir.model.constraint: crm.constraint_crm_lead_check_probability (changed definition: is now 'False' ('check(probability >= 0 and probability <= 100)')) +ir.model.constraint: crm.constraint_crm_lead_create_date_team_id_idx (changed definition: is now 'False' ('INDEX (create_date, team_id)')) +ir.model.constraint: crm.constraint_crm_lead_default_order_idx (changed definition: is now 'False' ('INDEX (priority DESC, id DESC) WHERE active IS TRUE')) +ir.model.constraint: crm.constraint_crm_lead_user_id_team_id_type_index (changed definition: is now 'False' ('INDEX (user_id, team_id, type)')) +ir.model.constraint: crm.constraint_crm_recurring_plan_check_number_of_months (changed definition: is now 'False' ('CHECK(number_of_months >= 0)')) +DEL ir.rule: crm.crm_activity_report_rule_all_activities (noupdate) +DEL ir.rule: crm.crm_activity_report_rule_multi_company (noupdate) +DEL ir.rule: crm.crm_activity_report_rule_personal_activities (noupdate) +DEL ir.rule: crm.crm_lead_company_rule (noupdate) +DEL ir.rule: crm.crm_rule_all_lead (noupdate) +DEL ir.rule: crm.crm_rule_personal_lead (noupdate) +DEL ir.rule: crm.mail_plan_rule_group_sale_manager_lead (noupdate) +DEL ir.rule: crm.mail_plan_templates_rule_group_sale_manager_lead (noupdate) +NEW ir.ui.view: crm.crm_lead_creation_message +NEW ir.ui.view: crm.crm_lead_view_list_simplified +NEW ir.ui.view: crm.crm_module_access_request_template +DEL ir.ui.view: crm.view_crm_lead2opportunity_partner +mail.message.subtype: crm.mt_lead_create (noupdate switched) +mail.message.subtype: crm.mt_lead_lost (noupdate switched) +mail.message.subtype: crm.mt_lead_restored (noupdate switched) +mail.message.subtype: crm.mt_lead_stage (noupdate switched) +mail.message.subtype: crm.mt_lead_won (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead_lost (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead_restored (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead_stage (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead_won (noupdate switched) diff --git a/openupgrade_scripts/scripts/crm/20.0.1.9/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm/20.0.1.9/upgrade_analysis_work.txt new file mode 100644 index 00000000000..4c1f9587499 --- /dev/null +++ b/openupgrade_scripts/scripts/crm/20.0.1.9/upgrade_analysis_work.txt @@ -0,0 +1,169 @@ +---Models in module 'crm'--- +obsolete model crm.lead2opportunity.partner [transient] +# NOTHING TO DO: a transient model holds no persistent data +---Fields in module 'crm'--- +crm / crm.lead / commercial_partner_id (many2one): DEL relation: res.partner, stored: False +# NOTHING TO DO: the column is left in place for database_cleanup +crm / crm.lead / duration_tracking (json) : is now stored +# NOTHING TO DO: the field is stored in 20.0 and filled by its own compute. +# Every field the analysis flags that is stored and entirely empty afterwards +# was checked one by one; the only pair whose emptiness meant a lost value was +# stock_delivery's hs_code and country_of_origin, which now have a script +crm / crm.lead / email_cc (char) : DEL +# NOTHING TO DO: the column is left in place for database_cleanup +crm / crm.lead / utm_reference (reference) : NEW +# NOTHING TO DO: empty is the right value for existing records +crm / crm.lead / website_message_ids (one2many): DEL relation: mail.message +# NOTHING TO DO: a one2many has no column, so nothing is left behind +crm / crm.stage / color (integer) : DEL +crm / crm.team.member / assignment_optout (boolean) : DEL +# NOTHING TO DO: the column is left in place for database_cleanup +crm / crm.team.member / assignment_rules (selection) : NEW selection_keys: ['limited', 'opt-out', 'unlimited'], hasdefault: compute, stored: False +# NOTHING TO DO: not stored +---XML records in module 'crm'--- +crm.lead.scoring.frequency.field: crm.frequency_field_country_id (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_email_state (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_lang_id (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_phone_state (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_source_id (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_state_id (noupdate switched) +crm.lead.scoring.frequency.field: crm.frequency_field_tag_ids (noupdate switched) +crm.lost.reason: crm.lost_reason_1 (noupdate switched) +crm.lost.reason: crm.lost_reason_2 (noupdate switched) +crm.lost.reason: crm.lost_reason_3 (noupdate switched) +crm.recurring.plan: crm.crm_recurring_plan_monthly (noupdate switched) +crm.recurring.plan: crm.crm_recurring_plan_over_3_years (noupdate switched) +crm.recurring.plan: crm.crm_recurring_plan_over_5_years (noupdate switched) +crm.recurring.plan: crm.crm_recurring_plan_yearly (noupdate switched) +crm.stage: crm.stage_lead1 (noupdate switched) +crm.stage: crm.stage_lead2 (noupdate switched) +crm.stage: crm.stage_lead3 (noupdate switched) +crm.stage: crm.stage_lead4 (noupdate switched) +crm.team: sales_team.pos_sales_team (noupdate switched) +crm.team: sales_team.salesteam_website_sales (noupdate switched) +crm.team: sales_team.team_sales_department (noupdate switched) +digest.digest: digest.digest_digest_default (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same +NEW ir.access: crm.access_calendar_event_type_sale_manager +NEW ir.access: crm.access_calendar_event_type_sale_user +NEW ir.access: crm.access_crm_lead2opportunity_partner_mass +NEW ir.access: crm.access_crm_lead_lost +NEW ir.access: crm.access_crm_lead_scoring_frequency +NEW ir.access: crm.access_crm_lead_scoring_frequency_field +NEW ir.access: crm.access_crm_lead_scoring_frequency_field_system +NEW ir.access: crm.access_crm_lead_scoring_frequency_system +NEW ir.access: crm.access_crm_lost_reason_manager +NEW ir.access: crm.access_crm_lost_reason_user +NEW ir.access: crm.access_crm_merge_opportunity +NEW ir.access: crm.access_crm_stage +NEW ir.access: crm.access_crm_stage_manager +NEW ir.access: crm.access_mail_activity_plan_sale_manager +NEW ir.access: crm.access_mail_activity_plan_template_sale_manager +NEW ir.access: crm.access_mail_activity_type_sale_manager +NEW ir.access: crm.access_res_partner +NEW ir.access: crm.access_res_partner_category +NEW ir.access: crm.calendar_event_rule_employee +NEW ir.access: crm.calendar_event_rule_employee_1 +NEW ir.access: crm.crm_activity_report_rule_all_activities +NEW ir.access: crm.crm_activity_report_rule_multi_company +NEW ir.access: crm.crm_activity_report_rule_personal_activities +NEW ir.access: crm.crm_lead_company_rule +NEW ir.access: crm.crm_lead_pls_update_access_system +NEW ir.access: crm.crm_recurring_plan_access_manager +NEW ir.access: crm.crm_recurring_plan_access_salesman +NEW ir.access: crm.crm_rule_all_lead +NEW ir.access: crm.crm_rule_all_lead_1 +NEW ir.access: crm.crm_rule_personal_lead +NEW ir.access: crm.mail_plan_rule_group_sale_manager_lead +NEW ir.access: crm.mail_plan_templates_rule_group_sale_manager_lead +NEW ir.access: crm.res_partner_rule_edit_all +NEW ir.access: crm.res_partner_rule_user +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +ir.actions.act_window: crm.action_opportunity_form (deleted domain) +ir.actions.act_window: crm.crm_case_form_view_salesteams_lead (deleted domain) +ir.actions.act_window: crm.crm_case_form_view_salesteams_opportunity (deleted domain) +ir.actions.act_window: crm.crm_lead_action_forecast (deleted domain) +ir.actions.act_window: crm.crm_lead_action_my_activities (deleted domain) +ir.actions.act_window: crm.crm_lead_action_open_lead_form (deleted domain) +ir.actions.act_window: crm.crm_lead_action_pipeline (deleted domain) +ir.actions.act_window: crm.crm_lead_action_team_overdue_opportunity (deleted domain) +ir.actions.act_window: crm.crm_lead_all_leads (deleted domain) +ir.actions.act_window: crm.crm_lead_opportunities (deleted domain) +ir.actions.act_window: crm.mail_activity_plan_action_lead (deleted domain) +ir.actions.act_window: sales_team.crm_team_action_pipeline (deleted domain) +ir.actions.act_window: sales_team.mail_activity_type_action_config_sales (deleted domain) +# NOTHING TO DO: the record is not noupdate, so the module update rewrites the domain +DEL ir.actions.act_window: crm.action_crm_lead2opportunity_partner +DEL ir.actions.act_window.view: crm.crm_lead_all_leads_view_calendar +DEL ir.actions.server: crm.action_opportunity_forecast +DEL ir.actions.server: crm.action_your_pipeline +# NOTHING TO DO: the record is not noupdate, so the module update removes it +ir.config_parameter: crm.crm_pls_fields_param (noupdate switched) +ir.config_parameter: crm.crm_pls_start_date_param (noupdate switched) +ir.cron: crm.ir_cron_crm_lead_assign (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same +DEL ir.model.access: crm.access_calendar_event +DEL ir.model.access: crm.access_calendar_event_manager +DEL ir.model.access: crm.access_calendar_event_type_sale_manager +DEL ir.model.access: crm.access_calendar_event_type_sale_salesman +DEL ir.model.access: crm.access_calendar_event_type_sale_user +DEL ir.model.access: crm.access_crm_activity_report_salesman +DEL ir.model.access: crm.access_crm_activity_report_user +DEL ir.model.access: crm.access_crm_lead +DEL ir.model.access: crm.access_crm_lead2opportunity_partner +DEL ir.model.access: crm.access_crm_lead2opportunity_partner_mass +DEL ir.model.access: crm.access_crm_lead_lost +DEL ir.model.access: crm.access_crm_lead_manager +DEL ir.model.access: crm.access_crm_lead_scoring_frequency +DEL ir.model.access: crm.access_crm_lead_scoring_frequency_field +DEL ir.model.access: crm.access_crm_lead_scoring_frequency_field_system +DEL ir.model.access: crm.access_crm_lead_scoring_frequency_system +DEL ir.model.access: crm.access_crm_lost_reason_manager +DEL ir.model.access: crm.access_crm_lost_reason_salesman +DEL ir.model.access: crm.access_crm_lost_reason_user +DEL ir.model.access: crm.access_crm_merge_opportunity +DEL ir.model.access: crm.access_crm_stage +DEL ir.model.access: crm.access_crm_stage_manager +DEL ir.model.access: crm.access_mail_activity_plan_sale_manager +DEL ir.model.access: crm.access_mail_activity_plan_template_sale_manager +DEL ir.model.access: crm.access_mail_activity_type_sale_manager +DEL ir.model.access: crm.access_res_partner +DEL ir.model.access: crm.access_res_partner_category +DEL ir.model.access: crm.access_res_partner_category_manager +DEL ir.model.access: crm.access_res_partner_manager +DEL ir.model.access: crm.crm_lead_pls_update_access_system +DEL ir.model.access: crm.crm_recurring_plan_access_manager +DEL ir.model.access: crm.crm_recurring_plan_access_salesman +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +ir.model.constraint: crm.constraint_crm_lead_check_probability (changed definition: is now 'False' ('check(probability >= 0 and probability <= 100)')) +ir.model.constraint: crm.constraint_crm_lead_create_date_team_id_idx (changed definition: is now 'False' ('INDEX (create_date, team_id)')) +ir.model.constraint: crm.constraint_crm_lead_default_order_idx (changed definition: is now 'False' ('INDEX (priority DESC, id DESC) WHERE active IS TRUE')) +ir.model.constraint: crm.constraint_crm_lead_user_id_team_id_type_index (changed definition: is now 'False' ('INDEX (user_id, team_id, type)')) +ir.model.constraint: crm.constraint_crm_recurring_plan_check_number_of_months (changed definition: is now 'False' ('CHECK(number_of_months >= 0)')) +# NOTHING TO DO: the record is not noupdate, so the module update rewrites it +DEL ir.rule: crm.crm_activity_report_rule_all_activities (noupdate) +DEL ir.rule: crm.crm_activity_report_rule_multi_company (noupdate) +DEL ir.rule: crm.crm_activity_report_rule_personal_activities (noupdate) +DEL ir.rule: crm.crm_lead_company_rule (noupdate) +DEL ir.rule: crm.crm_rule_all_lead (noupdate) +DEL ir.rule: crm.crm_rule_personal_lead (noupdate) +DEL ir.rule: crm.mail_plan_rule_group_sale_manager_lead (noupdate) +DEL ir.rule: crm.mail_plan_templates_rule_group_sale_manager_lead (noupdate) +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +NEW ir.ui.view: crm.crm_lead_creation_message +NEW ir.ui.view: crm.crm_lead_view_list_simplified +NEW ir.ui.view: crm.crm_module_access_request_template +# NOTHING TO DO: the record is not noupdate, so the module update creates it +DEL ir.ui.view: crm.view_crm_lead2opportunity_partner +# NOTHING TO DO: the record is not noupdate, so the module update removes it +mail.message.subtype: crm.mt_lead_create (noupdate switched) +mail.message.subtype: crm.mt_lead_lost (noupdate switched) +mail.message.subtype: crm.mt_lead_restored (noupdate switched) +mail.message.subtype: crm.mt_lead_stage (noupdate switched) +mail.message.subtype: crm.mt_lead_won (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead_lost (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead_restored (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead_stage (noupdate switched) +mail.message.subtype: crm.mt_salesteam_lead_won (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/crm_iap_enrich/20.0.1.1/upgrade_analysis.txt b/openupgrade_scripts/scripts/crm_iap_enrich/20.0.1.1/upgrade_analysis.txt new file mode 100644 index 00000000000..6f9efd97a61 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_iap_enrich/20.0.1.1/upgrade_analysis.txt @@ -0,0 +1,5 @@ +---Models in module 'crm_iap_enrich'--- +---Fields in module 'crm_iap_enrich'--- +---XML records in module 'crm_iap_enrich'--- +ir.ui.view: crm_iap_enrich.mail_message_lead_enrich_no_email (noupdate switched) +ir.ui.view: crm_iap_enrich.mail_message_lead_enrich_notfound (noupdate switched) diff --git a/openupgrade_scripts/scripts/crm_iap_enrich/20.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm_iap_enrich/20.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 00000000000..e3bfdca04b6 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_iap_enrich/20.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'crm_iap_enrich'--- +---Fields in module 'crm_iap_enrich'--- +---XML records in module 'crm_iap_enrich'--- +ir.ui.view: crm_iap_enrich.mail_message_lead_enrich_no_email (noupdate switched) +ir.ui.view: crm_iap_enrich.mail_message_lead_enrich_notfound (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same diff --git a/openupgrade_scripts/scripts/crm_livechat/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/crm_livechat/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..1736a9fbb7d --- /dev/null +++ b/openupgrade_scripts/scripts/crm_livechat/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,16 @@ +---Models in module 'crm_livechat'--- +---Fields in module 'crm_livechat'--- +crm_livechat / chatbot.script.step / step_type (False) : selection_keys removed: [create_lead_and_forward] +---XML records in module 'crm_livechat'--- +chatbot.script: crm_livechat.chatbot_script_lead_generation_bot (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_lead_generation_step_forward_operator (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_lead_generation_step_noone_available (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_lead_generation_step_welcome (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_welcome_step_just_looking (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_welcome_step_pricing_email (noupdate switched) +NEW ir.access: crm_livechat.ir_rule_discuss_channel_crm_lead +NEW ir.access: crm_livechat.ir_rule_discuss_channel_member_crm_lead +ir.model.constraint: crm_livechat.constraint_discuss_channel_has_crm_lead_index (changed definition: is now 'False' ('INDEX (has_crm_lead) WHERE has_crm_lead IS TRUE')) +DEL ir.rule: crm_livechat.ir_rule_discuss_channel_crm_lead (noupdate) +DEL ir.rule: crm_livechat.ir_rule_discuss_channel_member_crm_lead (noupdate) +DEL utm.source: crm_livechat.utm_source_livechat [renamed to utm module] (noupdate) diff --git a/openupgrade_scripts/scripts/crm_livechat/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm_livechat/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..3f759889873 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_livechat/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,25 @@ +---Models in module 'crm_livechat'--- +---Fields in module 'crm_livechat'--- +crm_livechat / chatbot.script.step / step_type (False) : selection_keys removed: [create_lead_and_forward] +# NOTHING TO DO: the keys changed but no row holds one 20.0 does not declare -- +# the selection gate reads ir_model_fields_selection and reports the field clean +---XML records in module 'crm_livechat'--- +chatbot.script: crm_livechat.chatbot_script_lead_generation_bot (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_lead_generation_step_forward_operator (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_lead_generation_step_noone_available (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_lead_generation_step_welcome (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_welcome_step_just_looking (noupdate switched) +chatbot.script.step: crm_livechat.chatbot_script_welcome_step_pricing_email (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same +NEW ir.access: crm_livechat.ir_rule_discuss_channel_crm_lead +NEW ir.access: crm_livechat.ir_rule_discuss_channel_member_crm_lead +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +ir.model.constraint: crm_livechat.constraint_discuss_channel_has_crm_lead_index (changed definition: is now 'False' ('INDEX (has_crm_lead) WHERE has_crm_lead IS TRUE')) +# NOTHING TO DO: the record is not noupdate, so the module update rewrites it +DEL ir.rule: crm_livechat.ir_rule_discuss_channel_crm_lead (noupdate) +DEL ir.rule: crm_livechat.ir_rule_discuss_channel_member_crm_lead (noupdate) +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +DEL utm.source: crm_livechat.utm_source_livechat [renamed to utm module] (noupdate) +# NOTHING TO DO: the record changes owning module, which apriori declares and +# base's update_module_names performs -- it re-points every ir_model_data row +# rather than recreating the record, so the ids and the data survive diff --git a/openupgrade_scripts/scripts/crm_mail_plugin/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/crm_mail_plugin/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..f7c9d29b3da --- /dev/null +++ b/openupgrade_scripts/scripts/crm_mail_plugin/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,5 @@ +---Models in module 'crm_mail_plugin'--- +---Fields in module 'crm_mail_plugin'--- +---XML records in module 'crm_mail_plugin'--- +DEL ir.actions.act_window: crm_mail_plugin.crm_lead_action_form_edit +DEL ir.actions.server: crm_mail_plugin.lead_creation_prefilled_action diff --git a/openupgrade_scripts/scripts/crm_mail_plugin/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm_mail_plugin/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..358dff1344e --- /dev/null +++ b/openupgrade_scripts/scripts/crm_mail_plugin/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,6 @@ +---Models in module 'crm_mail_plugin'--- +---Fields in module 'crm_mail_plugin'--- +---XML records in module 'crm_mail_plugin'--- +DEL ir.actions.act_window: crm_mail_plugin.crm_lead_action_form_edit +DEL ir.actions.server: crm_mail_plugin.lead_creation_prefilled_action +# NOTHING TO DO: the record is not noupdate, so the module update removes it diff --git a/openupgrade_scripts/scripts/crm_sale_project/20.0.1.0/upgrade_analysis.txt b/openupgrade_scripts/scripts/crm_sale_project/20.0.1.0/upgrade_analysis.txt new file mode 100644 index 00000000000..cbfbcad2b73 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_sale_project/20.0.1.0/upgrade_analysis.txt @@ -0,0 +1,9 @@ +---Models in module 'crm_sale_project'--- +---Fields in module 'crm_sale_project'--- +crm_sale_project / crm.lead / project_ids (one2many) : NEW relation: project.project +crm_sale_project / project.project / lead_id (many2one) : NEW relation: crm.lead +---XML records in module 'crm_sale_project'--- +NEW ir.actions.server: crm_sale_project.action_create_project_crm_lead +NEW ir.ui.view: crm_sale_project.crm_lead_view_form +NEW ir.ui.view: crm_sale_project.crm_project_view_form_simplified_template +NEW ir.ui.view: crm_sale_project.view_edit_project_inherit_form_crm_project diff --git a/openupgrade_scripts/scripts/crm_sale_project/20.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm_sale_project/20.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 00000000000..8433a895c7d --- /dev/null +++ b/openupgrade_scripts/scripts/crm_sale_project/20.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'crm_sale_project'--- +---Fields in module 'crm_sale_project'--- +crm_sale_project / crm.lead / project_ids (one2many) : NEW relation: project.project +# NOTHING TO DO: a one2many has no column of its own +crm_sale_project / project.project / lead_id (many2one) : NEW relation: crm.lead +# NOTHING TO DO: empty is the right value for existing records +---XML records in module 'crm_sale_project'--- +NEW ir.actions.server: crm_sale_project.action_create_project_crm_lead +NEW ir.ui.view: crm_sale_project.crm_lead_view_form +NEW ir.ui.view: crm_sale_project.crm_project_view_form_simplified_template +NEW ir.ui.view: crm_sale_project.view_edit_project_inherit_form_crm_project +# NOTHING TO DO: the record is not noupdate, so the module update creates it diff --git a/openupgrade_scripts/scripts/crm_sms/20.0.1.1/upgrade_analysis.txt b/openupgrade_scripts/scripts/crm_sms/20.0.1.1/upgrade_analysis.txt new file mode 100644 index 00000000000..f0f089097c1 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_sms/20.0.1.1/upgrade_analysis.txt @@ -0,0 +1,7 @@ +---Models in module 'crm_sms'--- +---Fields in module 'crm_sms'--- +---XML records in module 'crm_sms'--- +NEW ir.access: crm_sms.access_sms_template_sale_manager +NEW ir.access: crm_sms.ir_rule_sms_template_sale_manager +DEL ir.model.access: crm_sms.access_sms_template_sale_manager +DEL ir.rule: crm_sms.ir_rule_sms_template_sale_manager (noupdate) diff --git a/openupgrade_scripts/scripts/crm_sms/20.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/crm_sms/20.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 00000000000..4bcf6b073a0 --- /dev/null +++ b/openupgrade_scripts/scripts/crm_sms/20.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,8 @@ +---Models in module 'crm_sms'--- +---Fields in module 'crm_sms'--- +---XML records in module 'crm_sms'--- +NEW ir.access: crm_sms.access_sms_template_sale_manager +NEW ir.access: crm_sms.ir_rule_sms_template_sale_manager +DEL ir.model.access: crm_sms.access_sms_template_sale_manager +DEL ir.rule: crm_sms.ir_rule_sms_template_sale_manager (noupdate) +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids