Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

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

by
Elico Corp, Eric Caudal
- 03/05/2016 14:10:32
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


Reference