Odoo Help


Will all modules in Odoo 9 use the new API?

Kelly Stuart
on 11/6/14, 1:28 AM 8,028 views

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?




| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 11/6/14, 2:55 AM

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 :) 


Thank you for the prompt reply, Bole. It will be good to have extra speed. I love to see how much progress is made. It is hard work to keep up with it all... But well worth it!

Kelly Stuart
on 11/6/14, 4:09 AM

Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 3/3/15, 5:44 PM

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

And they're now slowly reverting that statement. It will not be removed in V9 and might even still be there at V10! See https://twitter.com/therp_stefan/status/606750366840061952 for example.

on 6/5/15, 7:55 AM

I think that it would be better no backward compatibility, above all for the new Odoo developers like me. All existing modules should be ported to the new API, and it wouldn't be neccesary to study the old framework. I only hope that all modules included in Odoo 9 Community edition will be ported to the new API, please!!!.

Eduardo BP
on 6/14/15, 9:45 PM

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: 11/6/14, 1:28 AM
Seen: 8028 times
Last updated: 4/29/15, 7:22 AM