From f96d8d436022f71b60f297d2c61cfbff9eaeb1fb Mon Sep 17 00:00:00 2001 From: Eric Antones Date: Mon, 29 Jun 2026 23:56:51 +0200 Subject: [PATCH 1/5] [OU-ADD] oxigen_ptplus_extension: Renamed into oxigen_ptplus oxigen_ptplus_extension (oxigensalud/odoo-addons-private) drops its `_extension` suffix when migrated to 18.0, becoming oxigen_ptplus -- a pure rename: no bare oxigen_ptplus module exists at 14.0, so the old module simply changes its technical name. Recording it in renamed_modules makes base's pre-migration rename the installed ir_module_module record before any module is loaded, so a bulk `-u all` migrates the existing install under the new name and preserves its data. This complements the in-module pre_init_hook, which covers the `-i` / fresh-install path (where the to-install record already exists and the rename must merge). Guijarron 14->18 migration. --- openupgrade_scripts/apriori.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index 50029e86cf07..544624ecc6c9 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -48,6 +48,8 @@ # OCA/web "web_widget_product_label_section_and_note": "web_widget_product_label_section_and_note_name_visibility", # noqa: E501 # OCA/... + # oxigensalud/odoo-addons-private + "oxigen_ptplus_extension": "oxigen_ptplus", } # Merged modules contain a mapping from old module names to other, From 4478705b033c1d1b7a767a3327d5033e787e30a2 Mon Sep 17 00:00:00 2001 From: Eric Antones Date: Mon, 29 Jun 2026 23:56:51 +0200 Subject: [PATCH 2/5] [OU-ADD] oxigen_ptplus_partner_extension: Renamed into oxigen_ptplus_partner oxigen_ptplus_partner_extension (oxigensalud/odoo-addons-private) drops its `_extension` suffix when migrated to 18.0, becoming oxigen_ptplus_partner -- a pure rename: no bare oxigen_ptplus_partner module exists at 14.0, so the old module simply changes its technical name. Recording it in renamed_modules makes base's pre-migration rename the installed ir_module_module record before any module is loaded, so a bulk `-u all` migrates the existing install under the new name and preserves its data. This complements the in-module pre_init_hook, which covers the `-i` / fresh-install path (where the to-install record already exists and the rename must merge). Guijarron 14->18 migration. --- openupgrade_scripts/apriori.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index 544624ecc6c9..358806658598 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -50,6 +50,7 @@ # OCA/... # oxigensalud/odoo-addons-private "oxigen_ptplus_extension": "oxigen_ptplus", + "oxigen_ptplus_partner_extension": "oxigen_ptplus_partner", } # Merged modules contain a mapping from old module names to other, From 6dfe2714ff571844b8d8c383d63ead9ec59af367 Mon Sep 17 00:00:00 2001 From: Eric Antones Date: Mon, 29 Jun 2026 23:56:52 +0200 Subject: [PATCH 3/5] [OU-ADD] oxigen_ptplus_sale_extension: Renamed into oxigen_ptplus_sale oxigen_ptplus_sale_extension (oxigensalud/odoo-addons-private) drops its `_extension` suffix when migrated to 18.0, becoming oxigen_ptplus_sale -- a pure rename: no bare oxigen_ptplus_sale module exists at 14.0, so the old module simply changes its technical name. Recording it in renamed_modules makes base's pre-migration rename the installed ir_module_module record before any module is loaded, so a bulk `-u all` migrates the existing install under the new name and preserves its data. This complements the in-module pre_init_hook, which covers the `-i` / fresh-install path (where the to-install record already exists and the rename must merge). Guijarron 14->18 migration. --- openupgrade_scripts/apriori.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index 358806658598..f611694c580c 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -51,6 +51,7 @@ # oxigensalud/odoo-addons-private "oxigen_ptplus_extension": "oxigen_ptplus", "oxigen_ptplus_partner_extension": "oxigen_ptplus_partner", + "oxigen_ptplus_sale_extension": "oxigen_ptplus_sale", } # Merged modules contain a mapping from old module names to other, From 0f863926b3a31e21a2e383df5d1b4c4b42b141e7 Mon Sep 17 00:00:00 2001 From: Eric Antones Date: Mon, 29 Jun 2026 23:56:52 +0200 Subject: [PATCH 4/5] [OU-ADD] oxigen_ptplus_stock_extension: Renamed into oxigen_ptplus_stock oxigen_ptplus_stock_extension (oxigensalud/odoo-addons-private) drops its `_extension` suffix when migrated to 18.0, becoming oxigen_ptplus_stock -- a pure rename: no bare oxigen_ptplus_stock module exists at 14.0, so the old module simply changes its technical name. Recording it in renamed_modules makes base's pre-migration rename the installed ir_module_module record before any module is loaded, so a bulk `-u all` migrates the existing install under the new name and preserves its data. This complements the in-module pre_init_hook, which covers the `-i` / fresh-install path (where the to-install record already exists and the rename must merge). Guijarron 14->18 migration. --- openupgrade_scripts/apriori.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index f611694c580c..b684f065263c 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -52,6 +52,7 @@ "oxigen_ptplus_extension": "oxigen_ptplus", "oxigen_ptplus_partner_extension": "oxigen_ptplus_partner", "oxigen_ptplus_sale_extension": "oxigen_ptplus_sale", + "oxigen_ptplus_stock_extension": "oxigen_ptplus_stock", } # Merged modules contain a mapping from old module names to other, From 244b05b172fd6d38b40e7cb7c327e65933893b39 Mon Sep 17 00:00:00 2001 From: Eric Antones Date: Tue, 7 Jul 2026 18:21:51 +0200 Subject: [PATCH 5/5] [OU-ADD] ptplus_accounting_asset_management: Renamed into oxigen_ptplus_accounting_asset_management The vendor retired this module at 18.0 and its 18.x successor targets Enterprise only. On this Community install it is replaced by oxigen_ptplus_accounting_asset_management (oxigensalud/odoo-addons-private PR#16), which provides the Portugal asset localization on the OCA account_asset_management stack. The rename hands the installed state of the retired module to its CE replacement so the 17->18 upgrade completes without a pending module. --- openupgrade_scripts/apriori.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openupgrade_scripts/apriori.py b/openupgrade_scripts/apriori.py index b684f065263c..49543f23d288 100644 --- a/openupgrade_scripts/apriori.py +++ b/openupgrade_scripts/apriori.py @@ -53,6 +53,11 @@ "oxigen_ptplus_partner_extension": "oxigen_ptplus_partner", "oxigen_ptplus_sale_extension": "oxigen_ptplus_sale", "oxigen_ptplus_stock_extension": "oxigen_ptplus_stock", + # exosoftware/pt-plus → oxigensalud/odoo-addons-private: the vendor asset + # module is retired at 18.0 (its 18.x successor is Enterprise-only); the CE + # replacement on the OCA account_asset_management stack takes over its + # installed state. + "ptplus_accounting_asset_management": "oxigen_ptplus_accounting_asset_management", # noqa: E501 } # Merged modules contain a mapping from old module names to other,