Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

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

by
Camptocamp SA, Joël Grand Guillaume
- 03/05/2016 16:14:13
Dear Community,


We have just stated about this topic among us and the OCA board:

"Recommand everyone to vote in favor to drop the old API in version 10"

Various reasons for this, but mostly:

 * All our code base is already migrated since version 8.0 !
 * Cleaner code base
 * One way to do things is better
 * Already announced since >2 years, reasonnable time according to us to drop it

Best regards,

Joël

On Tue, May 3, 2016 at 12:53 PM, Simone Orsi <simahawk@gmail.com> wrote:
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

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--


camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28


Reference