odoo/enterprise#83096

Created by fw-bot
Merged at 1841c89ebe2c6b1010ec5152ebe958ca5ce782c8

Statuses:

Linked pull requests
label
odoo-dev:master-saas-17.4-error_159875-khah-428347-fw
head
978b206653840d5ce057f732efd224f6660eaae0
merged
6 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