Contributors mailing list archives

contributors@odoo-community.org

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

by
Landis Arnold
- 04/05/2016 04:10:17

+1 for the new API.  (bring back the oldold license though)  My votes.


From: Richard deMeester <richard@willowit.com.au>
Sent: May 3, 2016 4:52 PM
To: Contributors
Subject: Re: Fwd: Should Odoo keep the old API for v10?

+1

Hooray to the old API going.  I was disappointed it was still with us in V9!

Sort-of like a drug-resistant strain of gonorrhea...

On 4 May 2016 at 00:53, Renato Lima <renatonlima@gmail.com> wrote:
+1 No old API in v10,

Since version 8.0 we migrate brazilian localization to new api :)

2016-05-03 9:53 GMT-03:00 Yannick Vaucher <yannick.vaucher@camptocamp.com>:

What remains is mostly corner cases for which we weren't able to port to new API because of the double API (at the time it was ported) or modules that never made it in 8.0 from 7.0 and few that where just activated without changes. But as Eric said the new API is now enforced in 9.0.

Plus I'm confident that most if not all OCA developper are now use to the new API.
Keeping the old api for an additional version wouldn't make much sense.

Yannick Vaucher
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne

On 3 May 2016 at 14:23, Eric Caudal <eric.caudal@elico-corp.com> wrote:

Not really: most of the code is already migrated since v8 modules and we systematically enforce new API in new modules so the workload should be "reasonable" (never as simple as this but close...)

--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 05/03/2016 08:08 PM, Jay Vora wrote:
<blockquote cite="mid:CACHFH7k7t2KW9v9sOn7+cObKij7PBgf2e-C20O3V=Fs5iJ5K-Q@mail.gmail.com" type="cite">
No old api in v10!

Just a little concern, it means a heavy job for OCA.

On Tue, May 3, 2016 at 4:23 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




--

The Splendid journey of 4 years in Numbers
---
Regards,
----------------------------------------------------------------------------------------------------------------------------
Jay Vora
Managing Director


 
Direct: +91-9879354457
Office: +91-9033472982
Skype: jaynvora
Twitter : jaynvora

   
-------------------------------------------------------------------------------------------------
Visit our website : http://www.serpentcs.com
Please consider the environment before printing this email

_______________________________________________
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


_______________________________________________
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




--
Richard deMeester
mob: +61 403 76 76 76
2013, 2015 Odoo Best Partner Asia/Pacific

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