Browse Source

[UPG] 11.0, base_technical_features

pull/44/head
Stefan Rijnhart 7 years ago
committed by Pedro M. Baeza
parent
commit
11ce3e7de5
  1. 10
      base_technical_features/README.rst
  2. 4
      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

10
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
<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
<https://github.com/OCA/server-ux/issues>`_. 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
<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
=======

4
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',

2
base_technical_features/models/base.py

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

2
base_technical_features/models/ir_ui_menu.py

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

6
base_technical_features/models/res_users.py

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

6
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

Loading…
Cancel
Save