Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
5 Відповіді
7603 Переглядів

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,

The following links will help you to resolve your issue:

https://www.odoo.com/forum/help-1/question/how-do-you-install-a-module-578  

https://www.odoo.com/forum/help-1/question/creating-a-module-53357 

Аватар
Відмінити
Найкраща відповідь

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 

Аватар
Відмінити