Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
13243 Lượt xem

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
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

 


Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 17
5321
2
thg 8 15
4629
2
thg 3 15
5428
1
thg 12 22
6332
1
thg 11 22
3465