From 11ce3e7de559439d293b2377e3f4d05d2ae93dbe Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Thu, 5 Oct 2017 16:43:33 +0200 Subject: [PATCH] [UPG] 11.0, base_technical_features --- base_technical_features/README.rst | 10 +++------- base_technical_features/__manifest__.py | 4 ++-- base_technical_features/models/base.py | 2 +- base_technical_features/models/ir_ui_menu.py | 2 +- base_technical_features/models/res_users.py | 6 +++--- .../tests/test_base_technical_features.py | 6 +++--- 6 files changed, 13 insertions(+), 17 deletions(-) diff --git a/base_technical_features/README.rst b/base_technical_features/README.rst index e5e6a80..7a01ec6 100644 --- a/base_technical_features/README.rst +++ b/base_technical_features/README.rst @@ -34,19 +34,15 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/149/10.0 + :target: https://runbot.odoo-community.org/runbot/250/11.0 Bug Tracker =========== Bugs are tracked on `GitHub Issues -`_. In case of trouble, please +`_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed `feedback -`_. +help us smashing it by providing a detailed and welcomed feedback. Credits ======= diff --git a/base_technical_features/__manifest__.py b/base_technical_features/__manifest__.py index b7f8ea1..603746d 100644 --- a/base_technical_features/__manifest__.py +++ b/base_technical_features/__manifest__.py @@ -4,9 +4,9 @@ { "name": "Technical features group", "summary": "Access to technical features without activating debug mode", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "category": "Usability", - "website": "https://github.com/oca/server-tools", + "website": "https://github.com/oca/server-ux", "author": "Opener B.V., Odoo Community Association (OCA)", "data": [ 'security/res_groups.xml', diff --git a/base_technical_features/models/base.py b/base_technical_features/models/base.py index 01f18c4..b7c219d 100644 --- a/base_technical_features/models/base.py +++ b/base_technical_features/models/base.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # © 2016 Opener B.V. () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models +from odoo import models class Base(models.AbstractModel): diff --git a/base_technical_features/models/ir_ui_menu.py b/base_technical_features/models/ir_ui_menu.py index 1192594..1e885b5 100644 --- a/base_technical_features/models/ir_ui_menu.py +++ b/base_technical_features/models/ir_ui_menu.py @@ -1,7 +1,7 @@ # coding: utf-8 # © 2016 Opener B.V. () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import api, models +from odoo import api, models class IrUiMenu(models.Model): diff --git a/base_technical_features/models/res_users.py b/base_technical_features/models/res_users.py index 824caef..d53b556 100644 --- a/base_technical_features/models/res_users.py +++ b/base_technical_features/models/res_users.py @@ -1,9 +1,9 @@ # coding: utf-8 # © 2016 Opener B.V. () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import api, fields, models -from openerp.exceptions import AccessError -from openerp.tools.translate import _ +from odoo import api, fields, models +from odoo.exceptions import AccessError +from odoo.tools.translate import _ class ResUsers(models.Model): diff --git a/base_technical_features/tests/test_base_technical_features.py b/base_technical_features/tests/test_base_technical_features.py index 9674ec7..df3b2f5 100644 --- a/base_technical_features/tests/test_base_technical_features.py +++ b/base_technical_features/tests/test_base_technical_features.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- -from openerp import api -from openerp.exceptions import AccessError -from openerp.tests import common +from odoo import api +from odoo.exceptions import AccessError +from odoo.tests import common from lxml import etree