Browse Source

bi_sql_editor: Migration to 14.0

14.0-report-py3o-pr-506
David James 4 years ago
parent
commit
ebd77c9399
  1. 2
      bi_sql_editor/__manifest__.py
  2. 3
      bi_sql_editor/models/bi_sql_view.py
  3. 6
      bi_sql_editor/tests/test_bi_sql_view.py
  4. 2
      oca_dependencies.txt

2
bi_sql_editor/__manifest__.py

@ -5,7 +5,7 @@
{ {
"name": "BI SQL Editor", "name": "BI SQL Editor",
"summary": "BI Views builder, based on Materialized or Normal SQL Views", "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", "license": "AGPL-3",
"category": "Reporting", "category": "Reporting",
"author": "GRAP,Odoo Community Association (OCA)", "author": "GRAP,Odoo Community Association (OCA)",

3
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 import SUPERUSER_ID, _, api, fields, models
from odoo.exceptions import UserError 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 from odoo.addons.base.models.ir_model import IrModel

6
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). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.exceptions import AccessError, UserError 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): class TestBiSqlViewEditor(SingleTransactionCase):
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):

2
oca_dependencies.txt

@ -1 +1 @@
# See https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#oca_dependencies-txt
server-tools
Loading…
Cancel
Save