Odoo Help


Will odoo 9 only support API based development?

Brijesh Kesariya
on 8/13/15, 5:43 AM 2,017 views

Currently odoo 8 supports both API based and ORM methods based on osv. Will odoo 9 support both? Or API based development will only supported by odoo 9?

Thanks in Advance.

Please read your description again. This is your 2nd sentence :"Or API based development will only supported by odoo 9?" in first sentence you have already wrote, in V8, Odoo supports both API and ORM methods. However API and ORM methods are same. Don't you know ?

Emipro Technologies Pvt. Ltd.
on 8/13/15, 5:49 AM

Yes I know. But my main concern is up-gradation of Module from 8.0 to 9.0.

Brijesh Kesariya
on 8/13/15, 5:53 AM

if your module is written in V8 API, it will work in V9 too ! ( Unless some of the xml side view changes )

Emipro Technologies Pvt. Ltd.
on 8/13/15, 5:58 AM

Had a chat with a few of the developers @ Odoo days and normally the XML side view shouldn't change.

on 8/13/15, 7:29 AM


| 8 8 8

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 8/13/15, 7:22 AM

Hi Brijesh

I've created a topic about this here: https://www.odoo.com/forum/help-1/question/how-long-will-the-odoo-v7-api-stay-available-will-it-be-removed-in-odoo-9-86441

To quote my answer from my topic:

 There has been a discussion about this on the official Odoo Experience (2015) and the compatibility with the V7 API will remain in Odoo 9. This means you will be able to use both the V7 and V8 API in both Odoo 8 and Odoo 9.

The exact moment when the support for the V7 API will be removed isn't decided yet and will depend on how fast Odoo itself changes everything to the new API and how fast the partners do this. It might even be the case that Odoo 10 will still support the old API!
Note: There hasn't been any official statement about this, besides in the Odoo Experience presentation about 'Ask Me Anything'. If the video from this presentation comes online I will add a link here that confirms this.

+1 @Yenthe

Emipro Technologies Pvt. Ltd.
on 8/13/15, 8:35 AM
chirag jogi
On 8/13/15, 6:06 AM

Hello Brijesh ..

Are you talking about following two different ways ?

1) def write(self, cr, uid, ids, vals, context=None):

2) @multi

    def write(self,values):

Yes Exactly Mr. Chirag.

Brijesh Kesariya
on 8/13/15, 6:14 AM

I have my Module written as per first method, but while upgrading it to odoo 9, Will it create any Problem?

Brijesh Kesariya
on 8/13/15, 6:15 AM

Odoo 9 will support both the V7 and the V8 API, so no this won't give you any problems. It could be that the old API (method one) will be removed in Odoo 10, but thats still not sure.

on 8/13/15, 7:21 AM

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

1 follower(s)


Asked: 8/13/15, 5:43 AM
Seen: 2017 times
Last updated: 9/25/15, 6:48 AM