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

I'v just started learning using odoo , and I have a problem with my first module 

I created a new module called it "clinic" and place it in a folder called "My_addons" after that I've used the following command to start the server :

./odoo.py --addons-path addons,My_addons



when I refreshed the webpage I 've updated the module list then searched for clinic and nothing showed 



what is the problem and the possible mistakes that I might done 

아바타
취소

Update your modules onder settings too, it should then show up in the list :)

베스트 답변

Hi Afnan,

Its not necessary to put your custom module addons in same folder where odoo addons is places.

wherever your custom addons is placed you just mention that path in addons path.

now coming on why you are not able to see your module in odoo module list.

for that you have to do "Update Module List" 

after then you will able to see your module in odoo local module list.

아바타
취소
베스트 답변

in yout terminal. use code:

./odoo.py -c /etc/odoo-server.conf -d YOUR_DB_NAME -u YOUR_MODULE_NAME


아바타
취소
작성자 베스트 답변

I've checked these website before but I couldn't get every thing .

I want to know somthing , is it right that the "My_addons" folder that has my module shouldn't be in addons folder but they both located in the same directory .???


another question :

I've used as mentioned the following command for starting the server and I found another commands , one of them was in the tutorial video I've been watching but I couldn't understand it .

python odoo.py --addons=../addons,../web/addons,../myaddons

I don't know every one id for what and I don't have a web folder 

아바타
취소