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

How Can i update module list From terminal in

openerp and odoo(v8) ?

Is there any way to achieve this from terminal?

I want to update module list Without Using Webclient.


In this case:

i can't use -u or -i to start server

using -u i am unable to get updated module list actually i want to update module list and that after want to install it using -i module_name
Awatar
Odrzuć
Najlepsza odpowiedź

you should pass comma separated list to -u, like module_a,module_b etc:

./odoo.py -d database_name_to_update  -u module_a,module_b,module_c
note that there should NOT be space between module names, just comma. Also, -d option is mandatory, you must specify (using -d) the database name you'd like to update modules in.

UPDATE:

if you can't use '-u' because module is not installed yet, then you can use '-i' instead (i.e. install), but if a target module is a fresh new module (usually custom one) and it is not yet added to module list, then I'm afraid to disappoint you but odoo currently does not support module list update from command line, however there is a pretty nice workaround (see the following thread: https://www.odoo.com/forum/help-1/question/how-to-update-module-list-from-command-line-84385). so you'll need to update module list first, and then use "-i" to install new modules.

 


Awatar
Odrzuć
Autor

hello Temur, I can't use '-u' as an option because that Particular module is not available in list Thanks

Hello, Please check the updated answer.

Powiązane posty Odpowiedzi Widoki Czynność
2
kwi 17
5316
2
sie 15
4627
2
mar 15
5421
1
gru 22
6328
1
lis 22
3463