Community mailing list archives
Re: Should Odoo keep the old API for v10?by
I think development process with new api is fast than older. And if the performance is increases by 10% using new api than we must have to go with new api.
On Tue, May 3, 2016 at 2:27 PM, Paul Catinean <email@example.com> 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 submitted the survey and think it's a very good idea to deprecate the old API. OCA already enforces this for V9 to my knowledge and V10 is already the third version with the new API.Migration should be done IMO with new API anyway and for people who want an upgrade and still keep old API there's V9. A small sacrifice for a greater benefit, just like Launchpad to Github. And the API move is way more gradual than the collaboration platform one.My 2 cents,PaulOn Tue, May 3, 2016 at 11:48 AM, 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