Browse Source

[UPG] 11.0, base_technical_features

pull/2/head
Stefan Rijnhart 7 years ago
parent
commit
00e2ed977a
  1. 8
      base_technical_features/README.rst
  2. 2
      base_technical_features/__manifest__.py
  3. 2
      base_technical_features/models/base.py
  4. 2
      base_technical_features/models/ir_ui_menu.py
  5. 6
      base_technical_features/models/res_users.py
  6. 6
      base_technical_features/tests/test_base_technical_features.py

8
base_technical_features/README.rst

@ -34,7 +34,7 @@ Usage
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot :alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/149/10.0
:target: https://runbot.odoo-community.org/runbot/149/11.0
Bug Tracker Bug Tracker
=========== ===========
@ -42,11 +42,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues Bugs are tracked on `GitHub Issues
<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please <https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first, 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
<https://github.com/OCA/
server-tools/issues/new?body=module:%20
base_technical_features%0Aversion:%20
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
help us smashing it by providing a detailed and welcomed feedback.
Credits Credits
======= =======

2
base_technical_features/__manifest__.py

@ -4,7 +4,7 @@
{ {
"name": "Technical features group", "name": "Technical features group",
"summary": "Access to technical features without activating debug mode", "summary": "Access to technical features without activating debug mode",
"version": "10.0.1.0.0",
"version": "11.0.1.0.0",
"category": "Usability", "category": "Usability",
"website": "https://github.com/oca/server-tools", "website": "https://github.com/oca/server-tools",
"author": "Opener B.V., Odoo Community Association (OCA)", "author": "Opener B.V., Odoo Community Association (OCA)",

2
base_technical_features/models/base.py

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# © 2016 Opener B.V. (<https://opener.am>) # © 2016 Opener B.V. (<https://opener.am>)
# 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 openerp import models
from odoo import models
class Base(models.AbstractModel): class Base(models.AbstractModel):

2
base_technical_features/models/ir_ui_menu.py

@ -1,7 +1,7 @@
# coding: utf-8 # coding: utf-8
# © 2016 Opener B.V. (<https://opener.am>) # © 2016 Opener B.V. (<https://opener.am>)
# 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 openerp import api, models
from odoo import api, models
class IrUiMenu(models.Model): class IrUiMenu(models.Model):

6
base_technical_features/models/res_users.py

@ -1,9 +1,9 @@
# coding: utf-8 # coding: utf-8
# © 2016 Opener B.V. (<https://opener.am>) # © 2016 Opener B.V. (<https://opener.am>)
# 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 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): class ResUsers(models.Model):

6
base_technical_features/tests/test_base_technical_features.py

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- 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 from lxml import etree

Loading…
Cancel
Save