Community mailing list archives
Re: Should Odoo keep the old API for v10?by
i voted for remove,,,
2016-05-03 9:17 GMT-05:00 Joël Grand-Guillaume <email@example.com>:
* Already announced since >2 years, reasonnable time according to us to drop it* One way to do things is better* Cleaner code base* All our code base is already migrated since version 8.0 !Dear Community, Dear Fabien,Various reasons for this, but mostly:
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"Best regards,JoëlOn Tue, May 3, 2016 at 2:11 PM, Stephen Raj <firstname.lastname@example.org> wrote:Hi Fabien,Thanks for polling the community on this, I think it's a very nice gesture to include the public opinion on this matter.
- I would suggest you to remove the old API entirely in v10.
- Upgrade python 3.x to increase performance.On Tue, May 3, 2016 at 4:57 PM, Mohamed Magdy <email@example.com> wrote:Hi Fabien,
I also vote to remove the old APIs and to keep only the new APIs.
But I also would love to see Odoo 10 uses Python 3.X as Python 2.7 is in its way to the end. It should help in making Odoo faster and more reliable.Voted to remove :-)And kudos to Odoo for eating your own dogfood, i.e. using Odoo Survey for the query and not Survey Monkey or whatever....-Torvald BringsvorTorvald Baade BringsvorBringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner2016-05-03 12:12 GMT+02:00 Alexandre Fayolle <firstname.lastname@example.org>:On 03/05/2016 10:47, Fabien Pinckaers wrote: > Hello, > > In Odoo 10, all official modules should be ported to the new API. > > So, we face the choice to remove the old API to clean the code and speed > up the software, or keep it to help the community port old modules to v10. > > If we keep the old API: > > * it's easier to port community modules to v10, if they are not ported > to the new API yet > > If we remove the old API: > > * Odoo will run about 10% faster > * Tracebacks are cleaner for developers (ORM code is lighter too) Additionnally, removing the old API means: * 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 My choice is clear :-) -- Alexandre Fayolle Chef de Projet Tel : +33 4 58 48 20 30Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac Cedex http://www.camptocamp.com
Thanking you,Stephen Raj D,Ph: 8870312211,
Cesar Luis M.