Community mailing list archives

community@mail.odoo.com

Re: Should Odoo keep the old API for v10?

by
Camptocamp SA, Yannick Vaucher
- 05/03/2016 05:40:26
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,

Yannick Vaucher
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 30
Office: +41 21 619 10 10

On 3 May 2016 at 11:23, Raphaël Valyi <rvalyi@akretion.com> wrote:
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.

Regards.

On Tue, May 3, 2016 at 6:14 AM, Bhavesh Selarka <bhaveshselarka13@gmail.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 <fp@odoo.com> 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)
Since it mostly impacts community modules, we'd like the community to vote here:
    https://www.odoo.com/survey/start/71


We 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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe