Files
odoo_source/addons/base_import_module
sesn-odoo 69f6fcccd9 [FIX] base_import_module: set actual ID for installed industries
Currently, when you attempt to uninstall an industry module, you are met
with a 'record not found' error.

Cause
-----
The list of industry modules is fetched from `odoo.com`. Since they do not
exist in the database, they are all assigned an ID of `-1`.
This ends up causing an issue in case of uninstall because no record
with and ID of `-1` can be found.

Fix
---
When a module is installed, it gets a record in the database (and ID).
The fix simply uses that ID if it exists, instead of `-1`.

opw-3662239

closes odoo/odoo#148456

Signed-off-by: Séna Serge Nshimiyimana (sesn) <sesn@odoo.com>
2024-01-10 10:28:11 +00:00
..