Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2909 Weergaven

Hi everyone,

i was wondering if there is any way to automatically install a module from a database?

I have a script to import databases on multiple environment, and i'd like to install the OCA module 'web_environment_ribbon' when i import a database on a staging environment. For the moment, my script updates the ir_module_module table from my database and set the state to "to install" on that module.

The problem is that when doing this, the module is NOT installed and seems to never be.

So, is it possible to trigger the installation of a module by updating the state in the database?

Launching odoo with -i is not a solution for me, since i want to be able to import a database without shutting down odoo


Thanks a lot!

Avatar
Annuleer