Odoo Help

0

Which tool to check code for Odoo errors?

By
Raffaele
on 5/19/16, 3:48 PM 347 views

Is there any tool that a developer could use to check py and xml code for syntax errors, unexpected indents, unmatching external ids, tags not closed, and the like?

I mean, something that dig more into Odoo logic (i.e. identifying unmatched ids) other than dealing with syntax, without having to handle 500 errors when installing modules

2
Julio Serna
On 5/19/16, 7:47 PM

Hello Raffaele,


To check python you can use:

Pylint,

https://github.com/PyCQA/pylint

Pep8,

https://www.python.org/dev/peps/pep-0008/

Flake,

https://flake8.readthedocs.io/en/latest/

eLBati
on 1/10/17, 12:34 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/19/16, 3:48 PM
Seen: 347 times
Last updated: 5/20/16, 2:02 AM