Skip to content

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Apr 8, 2025

After #144586, the modules other than base localization module should not have the countries key defined in their manifest.

The issue happens because countries key works similar to auto-install and it can lead to unwanted installation of the module.

As there was no check implemented, for some modules this key was used accidentally and caused issues with auto-install.

This commit removes this field from the manifest of the modules that could have this problem to avoid the issue.

Also in #201526 a linting test is proposed to avoid having the same issue in the future.


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #201610

After odoo#144586, the modules
other than base localization module should not have
the `countries` key defined in their manifest.

The issue happens because `countries` key works similar
to auto-install and it can lead to unwanted installation
of the module.

As there was no check implemented, for some modules this
key was used accidentally and caused issues with auto-install.

This commit removes this field from the manifest of the
modules that could have this problem to avoid the issue.

Also in odoo#201526 a linting
test is proposed to avoid having the same issue in the future.

X-original-commit: 625529d
@robodoo
Copy link
Contributor

robodoo commented Apr 8, 2025

Pull request status dashboard

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Apr 8, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Apr 8, 2025

This PR targets 18.0 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@C3POdoo C3POdoo added the RD research & development, internal work label Apr 8, 2025
robodoo pushed a commit that referenced this pull request Apr 10, 2025
After #144586, the modules
other than base localization module should not have
the `countries` key defined in their manifest.

The issue happens because `countries` key works similar
to auto-install and it can lead to unwanted installation
of the module.

As there was no check implemented, for some modules this
key was used accidentally and caused issues with auto-install.

This commit removes this field from the manifest of the
modules that could have this problem to avoid the issue.

Also in #201526 a linting
test is proposed to avoid having the same issue in the future.

closes #205145

X-original-commit: 625529d
Related: odoo/enterprise#83031
Signed-off-by: Habib Ayob (ayh) <ayh@odoo.com>
Signed-off-by: Ahmad Khanalizadeh (khah) <khah@odoo.com>
@robodoo robodoo closed this in 9c91be8 Apr 10, 2025
@fw-bot fw-bot deleted the 18.0-saas-17.4-error_159875-khah-422013-fw branch April 17, 2025 16:37
gamarino pushed a commit to numaes/numa-public-odoo that referenced this pull request Apr 26, 2025
After odoo/odoo#144586, the modules
other than base localization module should not have
the `countries` key defined in their manifest.

The issue happens because `countries` key works similar
to auto-install and it can lead to unwanted installation
of the module.

As there was no check implemented, for some modules this
key was used accidentally and caused issues with auto-install.

This commit removes this field from the manifest of the
modules that could have this problem to avoid the issue.

Also in odoo/odoo#201526 a linting
test is proposed to avoid having the same issue in the future.

closes odoo/odoo#205145

X-original-commit: 625529dff7c833886af99f37f9a05122ad006764
Related: odoo/enterprise#83031
Signed-off-by: Habib Ayob (ayh) <ayh@odoo.com>
Signed-off-by: Ahmad Khanalizadeh (khah) <khah@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

forwardport This PR was created by @fw-bot RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants