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.
Does anyone have an idea how to use an Odoo 8 method in Odoo 7 class / method ?
I have to use a specific method developed in Odoo 8 (New API) module in my traditional (Odoo 7) addon. How does it possible?
We have a work around for this. Define v7 & v8 compatible modules as follows,
And call the method like as follows to get result from both v7 & v8 ..
v7result = self.pool.get('hr.employee.rejoin')._validate_values(cr,uid,vals,context)
v8result = self._validate_values(values)
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: 11/2/15, 6:50 AM|
|Seen: 803 times|
|Last updated: 11/2/15, 8:27 AM|