diff --git a/docsource/modules180-190.rst b/docsource/modules180-190.rst index cfa3d607741f..806b627c57b8 100644 --- a/docsource/modules180-190.rst +++ b/docsource/modules180-190.rst @@ -100,7 +100,7 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | calendar |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| calendar_sms | | | +| calendar_sms |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | certificate | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -390,9 +390,9 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | l10n_fi_sale | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| l10n_fr | | | +| l10n_fr |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| l10n_fr_account | | | +| l10n_fr_account |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | l10n_fr_facturx_chorus_pro | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -704,11 +704,11 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | mail |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| mail_bot | | | +| mail_bot |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| mail_bot_hr | | | +| mail_bot_hr |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| mail_group | | | +| mail_group |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | mail_plugin | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -746,7 +746,7 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | microsoft_calendar | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| microsoft_outlook | | | +| microsoft_outlook |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | mrp |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ @@ -1046,9 +1046,9 @@ Module coverage 18.0 -> 19.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | sales_team |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| sms | | | +| sms |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| sms_twilio | | | +| sms_twilio |Nothing to do | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | snailmail | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/calendar_sms/19.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/calendar_sms/19.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..360ca93d07f2 --- /dev/null +++ b/openupgrade_scripts/scripts/calendar_sms/19.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'calendar_sms'--- + + +---Fields in module 'calendar_sms'--- +calendar_sms / calendar.alarm / sms_notify_responsible (boolean): DEL + +# NOTHING TO DO + +---XML records in module 'calendar_sms'--- diff --git a/openupgrade_scripts/scripts/google_address_autocomplete/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/google_address_autocomplete/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..622df33bdd92 --- /dev/null +++ b/openupgrade_scripts/scripts/google_address_autocomplete/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,12 @@ +---Models in module 'google_address_autocomplete'--- + + +---Fields in module 'google_address_autocomplete'--- + +---XML records in module 'google_address_autocomplete'--- +NEW ir.ui.view: google_address_autocomplete.res_config_settings_view_form +NEW ir.ui.view: google_address_autocomplete.view_company_form_inherit_address_autocomplete +NEW ir.ui.view: google_address_autocomplete.view_partner_address_form_inherit_address_autocomplete +NEW ir.ui.view: google_address_autocomplete.view_partner_form_inherit_address_autocomplete + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/post-migration.py b/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/post-migration.py new file mode 100644 index 000000000000..1bf575e06312 --- /dev/null +++ b/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/post-migration.py @@ -0,0 +1,9 @@ +# Copyright 2026 Tecnativa - Pilar Vargas +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env, "l10n_fr", "19.0.2.1/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/pre-migration.py b/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/pre-migration.py new file mode 100644 index 000000000000..f3f69668f9a5 --- /dev/null +++ b/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/pre-migration.py @@ -0,0 +1,19 @@ +# Copyright 2026 Tecnativa - Pilar Vargas +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + # Migrate SIRET values to company_registry without overwriting existing data. + openupgrade.logged_query( + env.cr, + """ + UPDATE res_partner + SET company_registry = siret + WHERE siret IS NOT NULL + AND siret != '' + AND (company_registry IS NULL OR company_registry = '') + """, + ) diff --git a/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..bf0f8023e9bd --- /dev/null +++ b/openupgrade_scripts/scripts/l10n_fr/19.0.2.1/upgrade_analysis_work.txt @@ -0,0 +1,13 @@ +---Models in module 'l10n_fr'--- +# NOTHING TO DO + +---Fields in module 'l10n_fr'--- +l10n_fr / res.partner / siret (char) : DEL +# DONE: pre-migration script migrated siret values to existing company_registry when empty. + +---XML records in module 'l10n_fr'--- +NEW ir.ui.view: l10n_fr.view_partner_form_inherit_l10n_fr +DEL ir.ui.view: l10n_fr.res_partner_form_l10n_fr +res.country.group: l10n_fr.fr_and_mc (noupdate) (noupdate switched) +DEL res.country.group: l10n_fr.dom-tom [renamed to base module] +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/l10n_fr_account/19.0.2.4/upgrade_analysis.txt b/openupgrade_scripts/scripts/l10n_fr_account/19.0.2.4/upgrade_analysis.txt index 934aa8b552e1..a30688d7ffb5 100644 --- a/openupgrade_scripts/scripts/l10n_fr_account/19.0.2.4/upgrade_analysis.txt +++ b/openupgrade_scripts/scripts/l10n_fr_account/19.0.2.4/upgrade_analysis.txt @@ -1,5 +1,9 @@ ---Models in module 'l10n_fr_account'--- +# NOTHING TO DO + ---Fields in module 'l10n_fr_account'--- +# NOTHING TO DO + ---XML records in module 'l10n_fr_account'--- NEW account.report.expression: l10n_fr_account.tax_report_08_base_balance_from_tags_purchase NEW account.report.expression: l10n_fr_account.tax_report_09_base_balance_from_tags_purchase @@ -7,3 +11,4 @@ NEW account.report.expression: l10n_fr_account.tax_report_10_base_balance_from_t NEW account.report.expression: l10n_fr_account.tax_report_11_base_balance_from_tags_purchase NEW account.report.expression: l10n_fr_account.tax_report_9B_base_balance_from_tags_purchase DEL ir.ui.view: l10n_fr_account.res_partner_form_l10n_fr +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/mail_bot/19.0.1.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/mail_bot/19.0.1.2/upgrade_analysis_work.txt new file mode 100644 index 000000000000..2f08def9f802 --- /dev/null +++ b/openupgrade_scripts/scripts/mail_bot/19.0.1.2/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'mail_bot'--- + + +---Fields in module 'mail_bot'--- + +---XML records in module 'mail_bot'--- +DEL ir.ui.view: mail_bot.res_users_view_form_preferences + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/mail_bot_hr/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/mail_bot_hr/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..56c991eb6279 --- /dev/null +++ b/openupgrade_scripts/scripts/mail_bot_hr/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'mail_bot_hr'--- +# NOTHING TO DO + +---Fields in module 'mail_bot_hr'--- +# NOTHING TO DO + +---XML records in module 'mail_bot_hr'--- +DEL ir.ui.view: mail_bot_hr.res_users_view_form_profile +# NOTHING TO DO: removed inherited user profile view only diff --git a/openupgrade_scripts/scripts/mail_group/19.0.1.1/post-migration.py b/openupgrade_scripts/scripts/mail_group/19.0.1.1/post-migration.py new file mode 100644 index 000000000000..0c6507de61fb --- /dev/null +++ b/openupgrade_scripts/scripts/mail_group/19.0.1.1/post-migration.py @@ -0,0 +1,6 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env, "mail_group", "19.0.1.1/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/mail_group/19.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/mail_group/19.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..288f82227d3b --- /dev/null +++ b/openupgrade_scripts/scripts/mail_group/19.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,14 @@ +---Models in module 'mail_group'--- + + +---Fields in module 'mail_group'--- +mail_group / mail.group / _order : _order is now 'is_closed ASC, create_date DESC, id DESC' ('create_date DESC, id DESC') +mail_group / mail.group / is_closed (boolean) : NEW + +# NOTHING TO DO + +---XML records in module 'mail_group'--- +NEW ir.actions.act_window: mail_group.mail_compose_message_action_mail_group +NEW ir.ui.view: mail_group.email_template_mail_group_closed + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/microsoft_outlook/19.0.1.1/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/microsoft_outlook/19.0.1.1/upgrade_analysis_work.txt new file mode 100644 index 000000000000..932d483cb709 --- /dev/null +++ b/openupgrade_scripts/scripts/microsoft_outlook/19.0.1.1/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'microsoft_outlook'--- +# NOTHING TO DO + +---Fields in module 'microsoft_outlook'--- +microsoft_outlook / res.users / outgoing_mail_server_type (False): NEW selection_keys: ['default', 'gmail', 'outlook'], mode: modify +# NOTHING TO DO: module only adds the new 'outlook' selection value + +---XML records in module 'microsoft_outlook'--- +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/sms/19.0.3.0/post-migration.py b/openupgrade_scripts/scripts/sms/19.0.3.0/post-migration.py new file mode 100644 index 000000000000..8b62bc8eaaeb --- /dev/null +++ b/openupgrade_scripts/scripts/sms/19.0.3.0/post-migration.py @@ -0,0 +1,6 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data(env, "sms", "19.0.3.0/noupdate_changes.xml") diff --git a/openupgrade_scripts/scripts/sms/19.0.3.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/sms/19.0.3.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..fb77777d3032 --- /dev/null +++ b/openupgrade_scripts/scripts/sms/19.0.3.0/upgrade_analysis_work.txt @@ -0,0 +1,29 @@ +---Models in module 'sms'--- +obsolete model sms.resend [transient] +obsolete model sms.resend.recipient [transient] + +# NOTHING TO DO + +---Fields in module 'sms'--- +sms / ir.actions.server / state (False) : selection_keys added: [object_copy] (most likely nothing to do) +sms / mail.message / message_type (False) : selection_keys added: [out_of_office] (most likely nothing to do) +sms / mail.notification / failure_type (False) : selection_keys added: [mail_bl, mail_dup, mail_optout, mail_spam] (most likely nothing to do) +sms / res.partner / phone_blacklisted (boolean) : module is now 'phone_validation' ('sms') +sms / res.partner / phone_mobile_search (char) : module is now 'phone_validation' ('sms') +sms / res.partner / phone_sanitized (char) : module is now 'phone_validation' ('sms') +sms / res.partner / phone_sanitized_blacklisted (boolean): module is now 'phone_validation' ('sms') +sms / res.users / phone_blacklisted (boolean) : module is now 'phone_validation' ('sms') +sms / res.users / phone_mobile_search (char) : module is now 'phone_validation' ('sms') +sms / res.users / phone_sanitized (char) : module is now 'phone_validation' ('sms') +sms / res.users / phone_sanitized_blacklisted (boolean): module is now 'phone_validation' ('sms') + +# NOTHING TO DO + +---XML records in module 'sms'--- +DEL ir.actions.act_window: sms.sms_resend_action +DEL ir.model.access: sms.access_sms_resend +DEL ir.model.access: sms.access_sms_resend_recipient +DEL ir.ui.view: sms.mail_resend_message_view_form +DEL ir.ui.view: sms.res_partner_view_search + +# NOTHING TO DO diff --git a/openupgrade_scripts/scripts/sms_twilio/19.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/sms_twilio/19.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..d631d970c8e6 --- /dev/null +++ b/openupgrade_scripts/scripts/sms_twilio/19.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,9 @@ +---Models in module 'sms_twilio'--- + + +---Fields in module 'sms_twilio'--- +sms_twilio / mail.notification / failure_type (False) : selection_keys added: [mail_bl, mail_dup, mail_optout, mail_spam] (most likely nothing to do) + +# NOTHING TO DO + +---XML records in module 'sms_twilio'---