diff --git a/admin_light_base/README.rst b/admin_light_base/README.rst index 5617dc0e..22af7f61 100644 --- a/admin_light_base/README.rst +++ b/admin_light_base/README.rst @@ -13,6 +13,11 @@ Specific modules add the functionalities to the application. Functionalities are added on an `ad hoc` basis, based on the trainings completed by the client. Each functionnality is added by a specific user group. +The group `Safe Administration / Base` is added by this module to grant access to the Administration application. +This group requires developper mode to be displayed under the section `Extra Rights`. + +.. image:: static/description/safe_administration_group.png + The section `Safe Administartion` requires developper mode to be displayed. .. image:: static/description/user_form.png diff --git a/admin_light_base/__manifest__.py b/admin_light_base/__manifest__.py index 27e2cc59..9e507702 100644 --- a/admin_light_base/__manifest__.py +++ b/admin_light_base/__manifest__.py @@ -2,7 +2,7 @@ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { - "name": "Admin Light", + "name": "Admin Light Base", "version": "16.0.1.0.0", "author": "Numigi", "maintainer": "Numigi", @@ -11,9 +11,9 @@ "summary": "Add an admin menu with restricted functionalities.", "depends": ["base"], "data": [ - "data/base.xml", - "data/sequence.xml", + "security/res_groups.xml", "security/ir.model.access.csv", + "views/menus.xml" ], "installable": True, "application": True, diff --git a/admin_light_base/data/sequence.xml b/admin_light_base/data/sequence.xml deleted file mode 100755 index fa0c8d9b..00000000 --- a/admin_light_base/data/sequence.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Sequences - - - - - - - diff --git a/admin_light_base/i18n/fr.po b/admin_light_base/i18n/fr.po index 318b32da..3d82b69e 100644 --- a/admin_light_base/i18n/fr.po +++ b/admin_light_base/i18n/fr.po @@ -4,24 +4,27 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0+e\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 16:38+0000\n" -"PO-Revision-Date: 2024-06-24 11:39-0500\n" -"Last-Translator: <>\n" +"POT-Creation-Date: 2024-09-04 21:40+0000\n" +"PO-Revision-Date: 2024-09-04 21:40+0000\n" +"Last-Translator: \n" "Language-Team: \n" -"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" +"Content-Transfer-Encoding: \n" "Plural-Forms: \n" -"X-Generator: Poedit 2.0.6\n" #. module: admin_light_base #: model:ir.ui.menu,name:admin_light_base.menu_admin msgid "Administration" msgstr "Administration" +#. module: admin_light_base +#: model:ir.ui.menu,name:admin_light_base.menu_other +msgid "Other" +msgstr "Autre" + #. module: admin_light_base #: model:ir.module.category,name:admin_light_base.module_category_admin msgid "Safe Administration" @@ -32,11 +35,6 @@ msgstr "Administration sécurisée" msgid "Safe Administration / Base" msgstr "Administration sécurisée / Base" -#. module: admin_light_base -#: model:ir.ui.menu,name:admin_light_base.menu_other -msgid "Other" -msgstr "Autre" - #. module: admin_light_base #: model:ir.ui.menu,name:admin_light_base.menu_sequence #: model:res.groups,name:admin_light_base.group_sequence diff --git a/admin_light_base/data/base.xml b/admin_light_base/security/res_groups.xml similarity index 56% rename from admin_light_base/data/base.xml rename to admin_light_base/security/res_groups.xml index 4f375cd0..e4f07b75 100755 --- a/admin_light_base/data/base.xml +++ b/admin_light_base/security/res_groups.xml @@ -4,7 +4,7 @@ Safe Administration - 3 + 1 @@ -12,18 +12,10 @@ - - - + + Sequences + + + diff --git a/admin_light_base/static/description/safe_administration_group.png b/admin_light_base/static/description/safe_administration_group.png new file mode 100644 index 00000000..b0c18343 Binary files /dev/null and b/admin_light_base/static/description/safe_administration_group.png differ diff --git a/admin_light_base/views/menus.xml b/admin_light_base/views/menus.xml new file mode 100644 index 00000000..878663b8 --- /dev/null +++ b/admin_light_base/views/menus.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file