Browse Source

[CHG] Rename reset_user_access_right to base_user_reset_access

pull/267/head
Adrien Peiffer (ACSONE) 9 years ago
parent
commit
e162df2e12
  1. 10
      base_user_reset_access/README.rst
  2. 0
      base_user_reset_access/__init__.py
  3. 14
      base_user_reset_access/__openerp__.py
  4. 14
      base_user_reset_access/i18n/fr.po
  5. 14
      base_user_reset_access/i18n/reset_user_access_right.pot
  6. 0
      base_user_reset_access/models/__init__.py
  7. 8
      base_user_reset_access/models/res_users.py
  8. 2
      base_user_reset_access/tests/__init__.py
  9. 8
      base_user_reset_access/tests/test_base_user_reset_access.py
  10. 2
      base_user_reset_access/views/res_users_view.xml
  11. 2
      reset_user_access_right/tests/__init__.py

10
reset_user_access_right/README.rst → base_user_reset_access/README.rst

@ -2,11 +2,11 @@
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
=======================
Reset User Access Right
=======================
======================
Base User Reset Access
======================
This module add a button to reset the user's access rights to the minimum configuration.
This module adds a button to reset the user's access rights to the minimum configuration.
Installation
============
@ -21,7 +21,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <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, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/server-tools/issues/new?body=module:%20reset_user_access_right%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`here <https://github.com/OCA/server-tools/issues/new?body=module:%20base_user_reset_access%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======

0
reset_user_access_right/__init__.py → base_user_reset_access/__init__.py

14
reset_user_access_right/__openerp__.py → base_user_reset_access/__openerp__.py

@ -1,36 +1,38 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# This file is part of reset_user_access_right,
# This file is part of base_user_reset_access,
# an Odoo module.
#
# Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>)
#
# reset_user_access_right is free software:
# base_user_reset_access is free software:
# you can redistribute it and/or modify it under the terms of the GNU
# Affero General Public License as published by the Free Software
# Foundation,either version 3 of the License, or (at your option) any
# later version.
#
# reset_user_access_right is distributed
# base_user_reset_access is distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with reset_user_access_right.
# along with base_user_reset_access.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': "Reset User Access Right",
'name': "Base User Reset Access",
'summary': """Reset User Access Right""",
'author': "ACSONE SA/NV,Odoo Community Association (OCA)",
'website': "http://acsone.eu",
'category': 'Tools',
'version': '8.0.1.0.0',
'license': 'AGPL-3',
'depends': [],
'depends': [
'base',
],
'data': [
'views/res_users_view.xml',
],

14
reset_user_access_right/i18n/fr.po → base_user_reset_access/i18n/fr.po

@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * reset_user_access_right
# * base_user_reset_access
#
msgid ""
msgstr ""
@ -15,19 +15,19 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: reset_user_access_right
#: code:addons/reset_user_access_right/models/res_users.py:36
#. module: base_user_reset_access
#: code:addons/base_user_reset_access/models/res_users.py:36
#, python-format
msgid "It's not possible to reset access right for Admin"
msgstr "Il n'est pas possible de réinitialiser les droits d'accès de Admin"
#. module: reset_user_access_right
#: view:res.users:reset_user_access_right.view_users_form
#. module: base_user_reset_access
#: view:res.users:base_user_reset_access.view_users_form
msgid "Reset Access Right"
msgstr "Réinitialiser les droits d'accès"
#. module: reset_user_access_right
#: model:ir.model,name:reset_user_access_right.model_res_users
#. module: base_user_reset_access
#: model:ir.model,name:base_user_reset_access.model_res_users
msgid "Users"
msgstr "Utilisateurs"

14
reset_user_access_right/i18n/reset_user_access_right.pot → base_user_reset_access/i18n/reset_user_access_right.pot

@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * reset_user_access_right
# * base_user_reset_access
#
msgid ""
msgstr ""
@ -15,19 +15,19 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: reset_user_access_right
#: code:addons/reset_user_access_right/models/res_users.py:36
#. module: base_user_reset_access
#: code:addons/base_user_reset_access/models/res_users.py:36
#, python-format
msgid "It's not possible to reset access right for Admin"
msgstr ""
#. module: reset_user_access_right
#: view:res.users:reset_user_access_right.view_users_form
#. module: base_user_reset_access
#: view:res.users:base_user_reset_access.view_users_form
msgid "Reset Access Right"
msgstr ""
#. module: reset_user_access_right
#: model:ir.model,name:reset_user_access_right.model_res_users
#. module: base_user_reset_access
#: model:ir.model,name:base_user_reset_access.model_res_users
msgid "Users"
msgstr ""

0
reset_user_access_right/models/__init__.py → base_user_reset_access/models/__init__.py

8
reset_user_access_right/models/res_users.py → base_user_reset_access/models/res_users.py

@ -1,24 +1,24 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# This file is part of reset_user_access_right,
# This file is part of base_user_reset_access,
# an Odoo module.
#
# Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>)
#
# reset_user_access_right is free software:
# base_user_reset_access is free software:
# you can redistribute it and/or modify it under the terms of the GNU
# Affero General Public License as published by the Free Software
# Foundation,either version 3 of the License, or (at your option) any
# later version.
#
# reset_user_access_right is distributed
# base_user_reset_access is distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with reset_user_access_right.
# along with base_user_reset_access.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

2
base_user_reset_access/tests/__init__.py

@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import test_base_user_reset_access

8
reset_user_access_right/tests/test_reset_user_access_right.py → base_user_reset_access/tests/test_base_user_reset_access.py

@ -1,24 +1,24 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# This file is part of reset_user_access_right,
# This file is part of base_user_reset_access,
# an Odoo module.
#
# Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>)
#
# reset_user_access_right is free software:
# base_user_reset_access is free software:
# you can redistribute it and/or modify it under the terms of the GNU
# Affero General Public License as published by the Free Software
# Foundation,either version 3 of the License, or (at your option) any
# later version.
#
# reset_user_access_right is distributed
# base_user_reset_access is distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with reset_user_access_right.
# along with base_user_reset_access.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

2
reset_user_access_right/views/res_users_view.xml → base_user_reset_access/views/res_users_view.xml

@ -2,7 +2,7 @@
<openerp>
<data>
<record id="view_users_form" model="ir.ui.view">
<field name="name">res.users.form (reset_user_access_right)</field>
<field name="name">res.users.form (base_user_reset_access)</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form" />
<field name="arch" type="xml">

2
reset_user_access_right/tests/__init__.py

@ -1,2 +0,0 @@
# -*- coding: utf-8 -*-
from . import test_reset_user_access_right
Loading…
Cancel
Save