diff --git a/bi_sql_editor/__manifest__.py b/bi_sql_editor/__manifest__.py index f6ea7de6b..3a909ba72 100644 --- a/bi_sql_editor/__manifest__.py +++ b/bi_sql_editor/__manifest__.py @@ -5,7 +5,7 @@ { "name": "BI SQL Editor", "summary": "BI Views builder, based on Materialized or Normal SQL Views", - "version": "13.0.1.0.1", + "version": "14.0.1.0.0", "license": "AGPL-3", "category": "Reporting", "author": "GRAP,Odoo Community Association (OCA)", diff --git a/bi_sql_editor/models/bi_sql_view.py b/bi_sql_editor/models/bi_sql_view.py index 2842ac93f..3adec90e5 100644 --- a/bi_sql_editor/models/bi_sql_view.py +++ b/bi_sql_editor/models/bi_sql_view.py @@ -9,7 +9,8 @@ from psycopg2 import ProgrammingError from odoo import SUPERUSER_ID, _, api, fields, models from odoo.exceptions import UserError -from odoo.tools import pycompat, safe_eval, sql +from odoo.tools import pycompat, sql +from odoo.tools.safe_eval import safe_eval from odoo.addons.base.models.ir_model import IrModel diff --git a/bi_sql_editor/tests/test_bi_sql_view.py b/bi_sql_editor/tests/test_bi_sql_view.py index d3ab26a66..02622d331 100644 --- a/bi_sql_editor/tests/test_bi_sql_view.py +++ b/bi_sql_editor/tests/test_bi_sql_view.py @@ -2,11 +2,11 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo.exceptions import AccessError, UserError -from odoo.tests.common import SingleTransactionCase, at_install, post_install +from odoo.tests import tagged +from odoo.tests.common import SingleTransactionCase -@at_install(False) -@post_install(True) +@tagged("-at_install", "post_install") class TestBiSqlViewEditor(SingleTransactionCase): @classmethod def setUpClass(cls):