-
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.
TA#66760 [16.0][MIG] admin_light_base
- Loading branch information
Showing
8 changed files
with
68 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# © 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# 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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# © 2018 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# 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': '1.0.2', | ||
'author': 'Numigi', | ||
'maintainer': 'Numigi', | ||
'license': 'LGPL-3', | ||
'category': 'Other', | ||
'summary': 'Add an admin menu with restricted functionalities.', | ||
'depends': ['base'], | ||
'data': [ | ||
'base.xml', | ||
'sequence.xml', | ||
'security/ir.model.access.csv', | ||
"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 | ||
"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
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 was deleted.
Oops, something went wrong.
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> |