跳至內容
選單
此問題已被標幟
4012 瀏覽次數

Hello,

I'm starting to learn odoo modules developing
so I created a module named "vetclinic" in odoo/openerp/addons

it contains 4 files inside which are:

1.  __init__.py
2.  __openerp__.py
3. vetclinic.py
4. vetclinic_view.xml

and I created models inside them which I want to test their output.


How could I test it?

I tried this command

./openerp-server --addons-path=addons -d opt-test -i vetclinic

and I got this error

WARNING opt-test openerp.modules.loading: invalid module names, ignored: vetclinic

頭像
捨棄

See your question about the addons path. If the path is not properly specified, you won't be able to test your module, as the error message already says.

相關帖文 回覆 瀏覽次數 活動
1
7月 24
1737
1
1月 24
4767
2
3月 23
2576
1
1月 23
3986
0
10月 22
1536