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've notice in Odoo 8 that some modules already use the new API in places, while other modules still use only the version 7 API. Looking ahead, I'm wondering if version 7 API will even be able to run under Odoo 9. Or will all custom code need to be converted to the newer version of the API?
Well.. we talk about new (v8) and old(v7) api...
Good notice in v8 both apis are supported, wich makes porting modules from v7 to newer version much easier and faster...
Also.. it makes v8 much slower ... the reason for that is : orm has to check every method if it is old or new style api, and if it is wirtten in old style it rewrites the method to new api and then it executes it....
Having all that in mind i can be pretty sure that v9 will not have old style api support
( and why should it have? by the time of release of stable v9, all developers will already be pretty familiar with new api, most custom modules will be ported to new api, so no need for old style support any more)
Wich will result in increased overall speed (no more style checks in executing the api methods) and code consitency
This is only the way i look at the future of odoo... would also like to read what others think :)
Odoo announced that the 'new' API would be the ONLY API that was supported at v9 with the statement "Backward compatibility will be removed in version 9. All future modules must be developed using the new API" in the document at https://www.odoo.com/blog/odoo-news-5/post/odoo-8-release-notes-186
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/6/14, 1:28 AM|
|Seen: 7482 times|
|Last updated: 4/29/15, 7:22 AM|