odoo/upgrade-util#356

Created by Upgrade, Jinane Maksoud (maji)
Merged at 6fbf95747c1b669c207b13d15ea6590bcbca8e32

Statuses:

label
odoo-dev:master-ignore-unknown-modules-maji
head
877121320333ea019fa9f0e0f7000a6b32a14a89
merged
1 month ago by Upgrade, Christophe Simonis (chs)
odoo/upgrade-util
master #356

[FIX] modules: consider unknown modules uninstalled

The function force_install_module could be called before the discovery of new modules. The validation for the module itself is deferred so we could also be lenient with the dependency module validation.
case of l10n_es_edi_verifactu, is a relatively recent module that is missing in some origin dbs coming from some saas versions, we can consider it uninstalled.