Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Fwd: Should Odoo keep the old API for v10?

by
Camptocamp France SAS, Alexandre Fayolle
- 03/05/2016 12:07:13
On 03/05/2016 11:19, Alexandre Fayolle wrote:
> We definitively want a deprecation.

sorry, mistyped. My vote goes to 'no old api in v10'

Rationale:

* lighter and cleaner code base -> less bugs, easier for newcomers to
get on board
* no more funky @api.v7 decorator and related unexpected behaviors
* no more funky @api.returns decorator and related unexpected behaviors
* no more painful stepping in the wrapper layers in pdb
* no more pain when overloading a computed field from an addon using the
v7 api
* no more pain when extending an onchange method defined using the v7 api
* get back the ability to use profiling tools to analyze performance

Plus, the OCA has already done a huge effort in porting to the new API
in v8 (and debugged a lot of nasty issues on our way)

-- 
Alexandre Fayolle
Chef de Projet
Tel : +33 4 58 48 20 30

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com

Reference