Skip to Content
Menu
This question has been flagged

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
Discard
Best Answer

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
Discard

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.

Best Answer

Did you get a good answer at your request ?

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 24
9730
8
Mar 17
18261
1
Feb 16
2697
6
Dec 23
23158
1
Mar 15
3353