Skip to content

[18.0][OU-ADD] apriori: module renames and merges#4

Open
eantones wants to merge 5 commits into
18.0from
18.0-apriori-renames
Open

[18.0][OU-ADD] apriori: module renames and merges#4
eantones wants to merge 5 commits into
18.0from
18.0-apriori-renames

Conversation

@eantones

@eantones eantones commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

  • Register the five target-18.0 module-name transitions required by the Guijarron migration.
  • Rename the four retained oxigen_ptplus_*_extension modules to their 18.0 technical names.
  • Transfer the installed state of the retired vendor asset module to the Community adapter based on OCA account_asset_management.
  • Keep the tax-statement, EDI and SAF-T custom modules out of the apriori table because they are retired and uninstalled before the target hop.

Mappings

Source module Target module
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
ptplus_accounting_asset_management oxigen_ptplus_accounting_asset_management

The apriori entries handle the bulk -u all path before module loading. Matching module-level adoption hooks cover explicit installation paths where applicable.

Test plan

  • Pre-commit passes
  • OpenUpgrade migration tests pass
  • Documentation workflow passes

@eantones
eantones force-pushed the 18.0-apriori-renames branch from f7ab3a1 to 7c1f2aa Compare July 3, 2026 11:46
@eantones

eantones commented Jul 3, 2026

Copy link
Copy Markdown
Member Author

Dropped the oxigen_ptplus_saft_extension → oxigen_ptplus_saft rename commit (branch force-pushed, f7ab3a1 → 7c1f2aa): the module is discarded, not renamed — it is a verified no-op at 18.0 (Exo's ptplus_saft 18.0 fixes the SAF-T <Tax> namespace natively). Full rationale: oxigensalud/odoo-addons-private#15. It now goes to the v14 pre-hop uninstall list instead. The remaining 6 renames are untouched.

@eantones eantones added the local-only Contains commits that stay in this repo forever (customer-private modules, local policy). label Jul 7, 2026
eantones added 5 commits July 21, 2026 18:34
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.
…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.
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.
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.
…us_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.
@eantones
eantones force-pushed the 18.0-apriori-renames branch from 4fde1bf to 244b05b Compare July 21, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

local-only Contains commits that stay in this repo forever (customer-private modules, local policy).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant