mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
bve-view.py pylint: disable=sql-injection
This commit is contained in:
@@ -295,12 +295,13 @@ class BveView(models.Model):
|
||||
table_name = self.model_name.replace('.', '_')
|
||||
|
||||
# robustness in case something went wrong
|
||||
# pylint: disable=sql-injection
|
||||
self._cr.execute('DROP TABLE IF EXISTS "%s"' % table_name)
|
||||
|
||||
basic_fields = [
|
||||
("t0.id", "id")
|
||||
]
|
||||
|
||||
# pylint: disable=sql-injection
|
||||
q = """CREATE or REPLACE VIEW %s as (
|
||||
SELECT %s
|
||||
FROM %s
|
||||
|
||||
Reference in New Issue
Block a user