Skip to Content
Menu
This question has been flagged
5 Replies
6652 Views

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 

Avatar
Discard

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

Best Answer

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.

Avatar
Discard
Best Answer

in yout terminal. use code:

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


Avatar
Discard
Author Best Answer

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 

Avatar
Discard