Odoo Help

0

How to test a module in odoo 8

By
youta
on 1/2/16, 10:43 AM 1,168 views

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.

Ermin Trevisan
on 1/3/16, 1:37 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/2/16, 10:43 AM
Seen: 1168 times
Last updated: 1/2/16, 2:47 PM