Hello,
We are performing upgrade tests from version 12.0 to version 15.0 for a database hosted on Odoo.sh and we are getting the following error message:
In this particular database we have several custom modules that are no longer necessary in the new version to which we want to move, so before sending the database to the upgrade service we proceeded to uninstall them and remove them from the repository (all this in a staging branch ).
According to the documentation:
Custom modules in the upgraded database are set to be updated. If the modules are missing in the code, the update fails.
Indeed, although the modules were uninstalled and removed, when the database is imported again after the upgrade process, they are still present and marked as To be upgraded:
And due to the sources were previously removed we are getting the following error message:
2023-01-11 14:40:55,043 14 ERROR pentagonia-testing-6899333 odoo.modules.loading: Some modules have inconsistent states, some dependencies may be missing: ['deltatech_alternative', ...]
My question is: Is there a way to mark custom modules as To be removed to avoid the update attempt after the database import process?
Thanks in advance