Ir al contenido
Menú
Se marcó esta pregunta
5 Respuestas
9148 Vistas

Hello All,


How to know where is the link of installed module and addons path is stored in database?

Problem is: 

When I give addons path in configuration file, and click on Update Apps List, and after that I installed that module. Now I am changing the addons path in configuration file, but if I change anything in module code, it is not at all reflecting the changes, even though it is the same module (which is already installed)

When I again change addons path: back to previously given path, it works perfectly fine (i.e. coming with all new updates in module)

Changing addons path only works until and unless I uninstall the already installed module and get and new module from Update Apps List, and I install that module again, this is working fine with new addons path, changes and everything.

Can anyone tell me how installed modules and its addons path links with each other? And how to change that?

Thank you,

Avatar
Descartar
Mejor respuesta

I do not understand why you would want to change the addons path in the first place. Modules which are properly placed in the folder(s) which are defined in the addons path(s) of the Odoo conf file are loaded when Odoo (re)starts.

So when you change the addons path only the modules located in the changed (new) addons path are loaded, modules in another (older)  addons folder will not be loaded.

If you only want to be sure Odoo loads the newest version of your module code, you should restart Odoo and then update the module in the Apps menu.

Avatar
Descartar

Yes ,I know it always load the new path and new module, but that is not effecting the existing module, even though I Update Apps List. Installed module still connected to the old path.

We need to change path in server side because of adding some new branch there.

Thank You Ermin Trevisan for your answer, but that doesn't work for me as my issue is different then this.

Mejor respuesta

Did you get a good answer at your request ?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 24
12296
8
mar 17
19898
1
feb 16
3632
6
dic 23
25080
1
mar 15
4254