OCA / pylint-odoo

Odoo plugin for Pylint
http://www.pylint.org
143 stars 168 forks source link

[FIX] translation-positional-used: Limit only for >=14.0 #377

Closed moylop260 closed 2 years ago

moylop260 commented 2 years ago

<=13.0 does not have positional arguments:

=14.0 has positional arguments:

So, we only are limiting this check for odoo >=14.0 since past version is not already valid

moylop260 commented 2 years ago

This check is not related with using parameters in _ method

I will create a new issue to prefer translation-not-lazy similar to logging-not-lazy