Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to write tests on v8 modules, but dont seem to find a way to use new api. In all examples I see that cr, uid is still used etc. Is it possible to write tests with new api. If so how (any references etc)?
Hello Andrius Laukavičius,
Yes, you can write tests using all new api stuff.
from openerp.tests import common
res_partner = self.env['res.partner']
test_partner1 = res_partner.create(
Hope this will help.
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
|Asked: 9/22/14, 3:51 AM|
|Seen: 1094 times|
|Last updated: 3/16/15, 8:10 AM|