odoo/enterprise#83031

Created by fw-bot
Merged at 3af1d4d893962384c409a82f8abf2d7d667924c0

Statuses:

Linked pull requests
label
odoo-dev:18.0-saas-17.4-error_159875-khah-422013-fw
head
bf7ff6741dc310fcca80c7c21910911f74124c56
merged
7 months ago by Fun HR, Ahmad Khanalizadeh (khah)
odoo/odoo odoo/enterprise
saas-17.4 #201610 #81178
18.0 #205145 #83031
saas-18.1 #205169 #83048
saas-18.2 #205240 #83082
saas-18.3
saas-18.4
19.0
master #205273 #83096

[FW][FIX] l10n_*: remove `countries` from the manifest

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.

Runbot Errors:
https://runbot.odoo.com/odoo/error/159875
https://runbot.odoo.com/odoo/error/159877

Forward-Port-Of: #81178