Odoo Help


How to create test methods in openerp?

Ahalya Izadeena
on 7/9/14, 6:11 AM 567 views

please brief your answer,Ahalya.

on 7/10/14, 4:41 AM

Ben Bernard

--Ben Bernard--
Ben Bernard
| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
Ben Bernard
On 7/21/14, 10:33 AM

I usually use yaml test. You can check the documentation here : https://doc.odoo.com/6.1/developer/11_upgrade_and_migration/#yaml-data-serialization

Almost every addons come with yaml test. You can check folder "test". It very useful because you can use python tag to execute python script.

If you want to use unittest2 you can follow https://doc.odoo.com/trunk/server/05_test_framework/.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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.


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

2 follower(s)


Asked: 7/9/14, 6:11 AM
Seen: 567 times
Last updated: 3/16/15, 8:10 AM