Odoo Help

2

0
8 答案
3
头像

Yenthe Van Ginneken 比利时

--Yenthe Van Ginneken--
25688
| 10 9 12
Turnhout, 比利时
--Yenthe Van Ginneken--


Yenthe Van Ginneken 比利时
2015/8/13 上午7:22

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 备注
Emipro Technologies Pvt. Ltd. 印度
2015/8/13 上午8:35

+1 @Yenthe

0
chirag jogi 印度
2015/8/13 上午6:06

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


3 注释
Brijesh Kesariya 印度
2015/8/13 上午6:14

Yes Exactly Mr. Chirag.

Brijesh Kesariya 印度
2015/8/13 上午6:15

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

Oocademy, Yenthe Van Ginneken 比利时
2015/8/13 上午7:21

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.

提问
标签
Keep Informed
1 关注者(s)
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