-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from Numigi/TA#67249-move
TA#66760 [16.0][MIG] admin_light_base
- Loading branch information
Showing
16 changed files
with
198 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Admin Light | ||
=========== | ||
This module adds a new `Administration` menu with restricted functionalities. | ||
|
||
.. image:: static/description/app_icon.png | ||
|
||
The purpose of this module is to give partial administration access to the client. | ||
This helps prevent manipulation errors and simplifies the navigation for the administrator. | ||
|
||
This module adds the new application without any content. | ||
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. | ||
|
||
.. image:: static/description/user_form.png | ||
|
||
Sequences | ||
--------- | ||
A new group `Safe Administration / Sequences` is added. | ||
|
||
.. image:: static/description/sequence_group.png | ||
|
||
This group has access to create and edit sequences. | ||
|
||
.. image:: static/description/sequence_list.png | ||
|
||
Contributors | ||
------------ | ||
* Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
|
||
More information | ||
---------------- | ||
* Meet us at https://bit.ly/numigi-com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Copyright 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
{ | ||
"name": "Admin Light", | ||
"version": "16.0.1.0.0", | ||
"author": "Numigi", | ||
"maintainer": "Numigi", | ||
"license": "LGPL-3", | ||
"category": "Other", | ||
"summary": "Add an admin menu with restricted functionalities.", | ||
"depends": ["base"], | ||
"data": [ | ||
"views/base.xml", | ||
"views/sequence.xml", | ||
"security/ir.model.access.csv", | ||
], | ||
"installable": True, | ||
"application": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
|
||
<record id="module_category_admin" model="ir.module.category"> | ||
<field name="name">Safe Administration</field> | ||
<field name="sequence">100</field> | ||
</record> | ||
|
||
<record id="group_admin" model="res.groups"> | ||
<field name="name">Safe Administration / Base</field> | ||
<field name="category_id" ref="base.module_category_usability" /> | ||
</record> | ||
|
||
<menuitem | ||
id="menu_admin" | ||
name="Administration" | ||
web_icon="base,static/description/settings.png" | ||
sequence="500" | ||
groups="group_admin" /> | ||
|
||
<menuitem | ||
id="menu_other" | ||
name="Other" | ||
parent="menu_admin" | ||
sequence="100" | ||
/> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
|
||
<record id="group_sequence" model="res.groups"> | ||
<field name="name">Sequences</field> | ||
<field name="category_id" ref="module_category_admin" /> | ||
<field name="implied_ids" eval="[(4, ref('group_admin'))]" /> | ||
</record> | ||
|
||
<menuitem | ||
id="menu_sequence" | ||
name="Sequences" | ||
parent="menu_other" | ||
groups="group_sequence" | ||
action="base.ir_sequence_form" | ||
sequence="10" | ||
/> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * admin_light_base | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0+e\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" | ||
"Language-Team: \n" | ||
"Language: fr\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\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.module.category,name:admin_light_base.module_category_admin | ||
msgid "Safe Administration" | ||
msgstr "Administration sécurisée" | ||
|
||
#. module: admin_light_base | ||
#: model:res.groups,name:admin_light_base.group_admin | ||
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 | ||
msgid "Sequences" | ||
msgstr "Séquences" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink | ||
access_ir_sequence,Admin Light: ir.sequence,base.model_ir_sequence,group_sequence,1,1,1,1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
|
||
<record id="module_category_admin" model="ir.module.category"> | ||
<field name="name">Safe Administration</field> | ||
<field name="sequence">100</field> | ||
</record> | ||
|
||
<record id="group_admin" model="res.groups"> | ||
<field name="name">Safe Administration / Base</field> | ||
<field name="category_id" ref="base.module_category_usability" /> | ||
</record> | ||
|
||
<menuitem | ||
id="menu_admin" | ||
name="Administration" | ||
web_icon="base,static/description/settings.png" | ||
sequence="500" | ||
groups="group_admin" /> | ||
|
||
<menuitem | ||
id="menu_other" | ||
name="Other" | ||
parent="menu_admin" | ||
sequence="100" | ||
/> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
|
||
<record id="group_sequence" model="res.groups"> | ||
<field name="name">Sequences</field> | ||
<field name="category_id" ref="module_category_admin" /> | ||
<field name="implied_ids" eval="[(4, ref('group_admin'))]" /> | ||
</record> | ||
|
||
<menuitem | ||
id="menu_sequence" | ||
name="Sequences" | ||
parent="menu_other" | ||
groups="group_sequence" | ||
action="base.ir_sequence_form" | ||
sequence="10" | ||
/> | ||
|
||
</odoo> |