Community mailing list archives
Re: Should Odoo keep the old API for v10?by
I'd vote for removing the old api since it is rather confusing to have two ways of coding and getting the same result. Plus newer is better so let us push towards making the application faster, cleaner and reliable.
On May 3, 2016 3:11 PM, "Yannick Vaucher" <email@example.com> wrote:
Hello Fabien,Thanks for launching a poll on this.
I can tell that OCA is ready for the move on the new API already on 9.0.All module created for version 8.0 were already developped with new API in mind (as it eased the dev).
And now all OCA modules even the one that are migrated from 7.0 and converted to new API in our 9.0 branches.+1 to remove old API in Odoo 10 for performances and for the sake of our stack traces.Regards,On 3 May 2016 at 11:23, Raphaël Valyi <firstname.lastname@example.org> wrote:Regards.Hello Fabien,I would suggest you remove the old API entirely in v10. Eventually, a patch might be provided if somebody really wants Odoo 10 to be able to run legacy old API code.On Tue, May 3, 2016 at 6:14 AM, Bhavesh Selarka <email@example.com> wrote:Hello ,In Odoo 10, all official modules should be ported to the new API.As per my point of view if all code is in new API its very very helpful for developer as well as user for much faster the application.And moreover to keep mixture of both Old and New API is much more difficult to manage the code.Thanks,Bhavesh.On Tue, May 3, 2016 at 2:17 PM, Fabien Pinckaers <firstname.lastname@example.org> 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 yetIf we remove the old API:
- Odoo will run about 10% faster
- Tracebacks are cleaner for developers (ORM code is lighter too)Since it mostly impacts community modules, we'd like the community to vote here:https://www.odoo.com/survey/start/71We will close the votes on monday 9 and share the results.Can someone from the OCA relay this poll to OCA members? Since they contributed to a lot of modules, their vote matters.Thanks,--Fabien