Closed KarenKawaii closed 8 years ago
Hi @moylop260
I think this issue is related to the new check odoo-addons-relative-import
that has to get the odoo_module_name.
If you try to run the command into the module subdirectories the function cannot get the odoo_module_name and that is a problem inside the editor vim and outside of it.
What do you think?
Thanks confirmed I'll check it
Thanks to you @moylop260
Module:
checkers
pylint_odoo/checkers/modules_odoo.py
line 231Version:
master
Steps to reproduce:
docker pull vauxoo/odoo-80-image-shippable-auto
t2d
(assuming the steps to do).--rcfile=
and--load-plugins=
, e.g.:Environment You can check that the pylint and astro versions are ok.
Current behaviour
Error
The previous error affects the
pylint_odoo
checks showed bysyntastic
intovim
too.Twelve days ago, everything was working ok.
Note: I made the proper tests making containers and the changes related to the newest [IMP] into docker-odoo-image odoo-shippable thay have nothing to do with this error.
Expected behaviour The command working fine when you are into the subdirectories of the module, not only passing the command when you are into the root of the module. e.g.: Able to run this command
Need to be able for run this command too.
If this command doesn't show an error the problems to show the
pylint_odoo
checks intovim
would be resolved.