diff --git a/reset_user_access_right/README.rst b/base_user_reset_access/README.rst similarity index 79% rename from reset_user_access_right/README.rst rename to base_user_reset_access/README.rst index 86f93cf94..2bea76793 100644 --- a/reset_user_access_right/README.rst +++ b/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 `_. 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 `_. +`here `_. Credits ======= diff --git a/reset_user_access_right/__init__.py b/base_user_reset_access/__init__.py similarity index 100% rename from reset_user_access_right/__init__.py rename to base_user_reset_access/__init__.py diff --git a/reset_user_access_right/__openerp__.py b/base_user_reset_access/__openerp__.py similarity index 81% rename from reset_user_access_right/__openerp__.py rename to base_user_reset_access/__openerp__.py index e575d4ac6..930f3eefa 100644 --- a/reset_user_access_right/__openerp__.py +++ b/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 () # -# 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 . # ############################################################################## { - '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', ], diff --git a/reset_user_access_right/i18n/fr.po b/base_user_reset_access/i18n/fr.po similarity index 68% rename from reset_user_access_right/i18n/fr.po rename to base_user_reset_access/i18n/fr.po index 31b844d95..c08f08c83 100644 --- a/reset_user_access_right/i18n/fr.po +++ b/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" diff --git a/reset_user_access_right/i18n/reset_user_access_right.pot b/base_user_reset_access/i18n/reset_user_access_right.pot similarity index 64% rename from reset_user_access_right/i18n/reset_user_access_right.pot rename to base_user_reset_access/i18n/reset_user_access_right.pot index 0a3e6c1a9..5fdb338a8 100644 --- a/reset_user_access_right/i18n/reset_user_access_right.pot +++ b/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 "" diff --git a/reset_user_access_right/models/__init__.py b/base_user_reset_access/models/__init__.py similarity index 100% rename from reset_user_access_right/models/__init__.py rename to base_user_reset_access/models/__init__.py diff --git a/reset_user_access_right/models/res_users.py b/base_user_reset_access/models/res_users.py similarity index 87% rename from reset_user_access_right/models/res_users.py rename to base_user_reset_access/models/res_users.py index 99d87a3af..4474e1772 100644 --- a/reset_user_access_right/models/res_users.py +++ b/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 () # -# 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 . # ############################################################################## diff --git a/base_user_reset_access/tests/__init__.py b/base_user_reset_access/tests/__init__.py new file mode 100644 index 000000000..4a67f1230 --- /dev/null +++ b/base_user_reset_access/tests/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +from . import test_base_user_reset_access diff --git a/reset_user_access_right/tests/test_reset_user_access_right.py b/base_user_reset_access/tests/test_base_user_reset_access.py similarity index 89% rename from reset_user_access_right/tests/test_reset_user_access_right.py rename to base_user_reset_access/tests/test_base_user_reset_access.py index f9b4246ea..ed4d4ee47 100644 --- a/reset_user_access_right/tests/test_reset_user_access_right.py +++ b/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 () # -# 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 . # ############################################################################## diff --git a/reset_user_access_right/views/res_users_view.xml b/base_user_reset_access/views/res_users_view.xml similarity index 89% rename from reset_user_access_right/views/res_users_view.xml rename to base_user_reset_access/views/res_users_view.xml index 9eeaf4f91..661495962 100644 --- a/reset_user_access_right/views/res_users_view.xml +++ b/base_user_reset_access/views/res_users_view.xml @@ -2,7 +2,7 @@ - res.users.form (reset_user_access_right) + res.users.form (base_user_reset_access) res.users diff --git a/reset_user_access_right/tests/__init__.py b/reset_user_access_right/tests/__init__.py deleted file mode 100644 index fe3891401..000000000 --- a/reset_user_access_right/tests/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -# -*- coding: utf-8 -*- -from . import test_reset_user_access_right