Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
9173 Widoki

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,

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć

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.

Najlepsza odpowiedź

Did you get a good answer at your request ?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
mar 24
12305
8
mar 17
19909
1
lut 16
3638
6
gru 23
25098
1
mar 15
4260