mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] bi_sql_editor: black, isort, prettier
This commit is contained in:
@@ -18,8 +18,8 @@ _logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def _instanciate(self, model_data):
|
def _instanciate(self, model_data):
|
||||||
""" Return a class for the custom model given by
|
"""Return a class for the custom model given by
|
||||||
parameters ``model_data``. """
|
parameters ``model_data``."""
|
||||||
# This monkey patch is meant to avoid create/search tables for those
|
# This monkey patch is meant to avoid create/search tables for those
|
||||||
# materialized views. Doing "super" doesn't work.
|
# materialized views. Doing "super" doesn't work.
|
||||||
class CustomModel(models.Model):
|
class CustomModel(models.Model):
|
||||||
|
|||||||
Reference in New Issue
Block a user