콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
38013 화면

Is there a way to install a module from the command line?

Something similar to the update option at command line. --update=UPDATE

--init=INIT This works only when the module is already in the list of the database.

There is a way to update the module list from the command line?

아바타
취소

Did you specify the database with the -d option?

작성자

yes, the update worked but the init did not.

So if I want to update the modules list for "db_name" it will be : --update=UPDATE -d db_name ? should I switch to the openerp user ? thanks.

베스트 답변

if you see --help you can read

-i INIT, --init=INIT
                    install one or more modules (comma-separated list, use
                    "all" for all modules), requires -d

This is all you need. If openERP doesn't install your module, probably there is some bug (dipendences missed for example)

아바타
취소
작성자

I installed it from the web interface without any problem, the only dependence was product module, I guess I have to try with other modules.

작성자

I found that if I update the module list from the web client, then I can install the module from command line, I will update the question.

The -d parameter is set correctly?

작성자

yes de -d parameter is correct, the problem is that it is a new module and it is not in the database list

It seems -i or --init is not usable when you don't 'update module list' first..

관련 게시물 답글 화면 활동
2
11월 15
3003
0
3월 15
5225
3
6월 24
1428
2
11월 22
38868
2
3월 22
9457