Contributors mailing list archives

contributors@odoo-community.org

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

by
Abstract Technology, Simone Orsi
- 03/05/2016 10:40:44
Hi,

I totally agree w/ Alexandre:  'no old api in v10'.

S.

On Tue, May 3, 2016 at 12:23 PM, Alexandre Fayolle
<alexandre.fayolle@camptocamp.com> wrote:
> 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
>
> _______________________________________________
> Mailing-List: http://odoo-community.org/groups/contributors-15
> Post to: mailto:contributors@odoo-community.org
> Unsubscribe: http://odoo-community.org/groups?unsubscribe