跳至内容
菜单
此问题已终结
1 回复
13232 查看

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
形象
丢弃
最佳答案

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.

 


形象
丢弃
编写者

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.

相关帖文 回复 查看 活动
2
4月 17
5311
2
8月 15
4620
2
3月 15
5416
1
12月 22
6320
1
11月 22
3460