Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] pylint_odoo: Use check-name instead of check-code for add_messa…
…ge method (#174) When a check is found the method `add_message` is called with the number of the check `W7904` instead of the name of the check `deprecated-openerp-xml-node` This change is necessary to used the new configuration `odoo_check_versions` like this: ```python odoo_check_versions = { 'useless-attribute-non-translatable': { 'min_odoo_version': '8.0', }, } ``` Without this change the `odoo_check_versions` should be like this: ```python odoo_check_versions = { 'W7904': { 'min_odoo_version': '8.0', }, } ``` It keep more readable `odoo_check_versions`
- Loading branch information