[19.0][MIG] module_change_auto_install: Migration to 19.0
Hi. It looks like something is broken in the V19 CI.
https://github.com/OCA/server-tools/actions/runs/17918299803/job/50946259471?pr=3384#step:4:169
could not obtain odoo.addons.__path__ using python
not found in addons path: base
Aborted.
other V19 PR have the same problem. (https://github.com/OCA/server-tools/actions/runs/17910628074/job/50921155714?pr=3382)
waiting for the fix.
I'm still testing this change, doesn't seem to work right now
It seems to be important to return False iso set() :-)
When adding the configuration to the odoo's config file, this warning is shown
2025-09-25 14:44:14,513 556 WARNING ? odoo.tools.config: unknown option 'modules_auto_install_disabled' in the config file at /root/.odoorc, option stored as-is, without parsing
Anybody who knows how we could fix this?
It looks like the spirit of Odoo V19, is to have a fixed quantity of option in the [options] section, defined in the core code.
Could you try to replace :
[options]
server_wide_modules = web,module_change_auto_install
modules_auto_install_disabled =
partner_autocomplete,
iap,
mail_bot
modules_auto_install_enabled =
web_responsive:web,
base_technical_features,
disable_odoo_online,
account_usability
by
[options]
server_wide_modules = web,module_change_auto_install
[module_change_auto_install]
modules_disabled =
partner_autocomplete,
iap,
mail_bot
modules_enabled =
web_responsive:web,
base_technical_features,
disable_odoo_online,
account_usability
It looks like the spirit of Odoo V19, is to have a fixed quantity of option in the [options] section, defined in the core code.
Could you try to replace :
[options] server_wide_modules = web,module_change_auto_install modules_auto_install_disabled = partner_autocomplete, iap, mail_bot modules_auto_install_enabled = web_responsive:web, base_technical_features, disable_odoo_online, account_usabilityby
[options] server_wide_modules = web,module_change_auto_install [module_change_auto_install] modules_disabled = partner_autocomplete, iap, mail_bot modules_enabled = web_responsive:web, base_technical_features, disable_odoo_online, account_usability
I tried several ways, but the warning pops up too soon. Odoo refatcored it completly to show a warning on non standard options.
I tried several ways, but the warning pops up too soon.
Could you update the logs ?
We can wait and take a look on this similar OCA modules that will have the same problems :
- https://github.com/OCA/queue/tree/18.0/queue_job#configuration
- https://github.com/OCA/server-env/tree/18.0/server_environment_ir_config_parameter#configuration
What do you mean with
Could you update the logs ?
What do you mean with
Could you update the logs ?
Could you put the new log, when you use [module_change_auto_install] in the odoo.cfg file ?
thanks !
@legalsylvain I've managed to use the following config as you mentioned
[options]
server_wide_modules = web,module_change_auto_install
[module_change_auto_install]
modules_disabled =
partner_autocomplete,
iap,
mail_bot
modules_enabled =
web_responsive:web,
base_technical_features,
disable_odoo_online,
account_usability
Can you have a look?
Changes implemented after this commit of Odoo https://github.com/odoo/odoo/commit/2b4b30cb8b8c67d94b3ee947fdc80fa1005f3559
OCB has not yet the latest version of Odoo.