Community mailing list archives

Re: Should Odoo keep the old API for v10?

Vauxoo S.A. de C.V., Moisés Augusto López Calderón
- 05/09/2016 15:43:26
+1 to use just new api

IMHO you could take the impulse of the full refactory to reduce the Cyclomatic_complexity (new api is good to this focus).
Imágenes integradas 1
A module too-complex is hard to inherit, to test, to maintain, to read...

2016-05-09 14:22 GMT-05:00 Jay Vora <>:
Smart work Nhomar.

On Mon, May 9, 2016 at 9:12 PM, Nhomar Hernandez <> wrote:

On Mon, May 9, 2016 at 10:27 AM, Car Wash Sales <> wrote:
When will Odoo 10 with new API be available?


It was just decided today AFAICU.

Let's them make a plan at least!


IMHO: this should be done in 2 steps.

1.- Disable the helper decorators (to brake anything which is old api).
2.- Fix external modules.
3.- Cleanup the methods.

BTW and just FYI:

We manage in Vauxoo/addons-vauxoo into pylint all the checks to ensure that all module touched brake something we called "Odoo-lint" and say the user "You must migrate it".

You can check the configuration and the way it works here:

Section script and install combined.

You can see a report of 1 PR failing here:

It is pretty straight forward to make a quick plan.

cc @anthony this is part of the tools we mentioned in belgium last year we used to mantain our SQA a little automated without being intrusive.

travis:-> Lints.
Runbot:-> Unittesting.


Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942

Post to:


The Splendid journey of 4 years in Numbers
Jay Vora
Managing Director

Direct: +91-9879354457
Office: +91-9033472982
Skype: jaynvora
Twitter : jaynvora
Visit our website :
Please consider the environment before printing this email

Post to:

Moisés López Calderón
Vauxoo - OpenERP's Gold Partner
Mobile: (+521) 477-752-22-30
Office: (+52) 477-773-33-46
twitter: @vauxoo