OCA / pylint-odoo

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

[FIX] sql-injection: Fix false positives #344

Closed moylop260 closed 3 years ago

moylop260 commented 3 years ago

Ignore cases when you are using almost one parameter It means you maybe are using a concatenation for valid concatenation but parameters for other cases

Ignore cases for private parameters and private methods too It is a common way to use a valid "cr.execute" for Odoo views in newer versions

Fix https://github.com/OCA/pylint-odoo/issues/334

It could depends of feedback from: