odoo/odoo#201610

Created by Fun HR, Ahmad Khanalizadeh (khah)
Merged at 625529dff7c833886af99f37f9a05122ad006764

Statuses:

Linked pull requests
label
odoo-dev:saas-17.4-error_159875-khah
head
b5f3ef2e585d91e99b43ef9718f939b569e0eb7c
merged
7 months ago by Accounting, Habib Ayob (ayh)
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

[FIX] l10n_*: remove countries from the manifest

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