-
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 #179 from Numigi/migration
TA#66761 [16.0][MIG] admin_light_bi_view_editor
- Loading branch information
Showing
9 changed files
with
70 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,37 @@ | ||
========================== | ||
Admin Light BI View Editor | ||
========================== | ||
This module restricts access to the menu entries of the bi_view_editor module to all users | ||
except `Admin Light / Base` and `Administration / Configuration` users. | ||
|
||
Usage | ||
----- | ||
* As a user in the `Administration / Configuration` or `Admin Light / Base` user group, | ||
I go to the `Dashboard` application. | ||
|
||
I see that I have access to the `Custom Reports` and `Custom Bi Views` menu entries. | ||
|
||
.. image:: static/description/custom_bi_views_menu.png | ||
|
||
If I do a search in the search bar on the app panel (if the feature is available like on enterprise edition of Odoo), | ||
, I see the menu. | ||
|
||
|
||
* As a user not part of the `Administration / Configuration` or `Admin Light / Base` user group, | ||
I go to the `Dashboard` application. | ||
|
||
I see that I don't have access to the `Custom Reports` and `Custom Bi Views` menu entries. | ||
|
||
.. image:: static/description/dasbhoard_menu.png | ||
|
||
Even if I do a search in the search bar on the app panel (if the feature is available like on enterprise edition of Odoo), | ||
, I see the menu. | ||
|
||
|
||
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 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/AGPL). |
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,17 @@ | ||
# Copyright 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/AGPL). | ||
|
||
{ | ||
"name": "Admin Light BI View Editor", | ||
"version": "16.0.1.0.0", | ||
"author": "Numigi", | ||
"maintainer": "Numigi", | ||
"license": "AGPL-3", | ||
"category": "Other", | ||
"summary": "Add restrictions on the menu of bi_view_editor module.", | ||
"depends": ["admin_light_base", "bi_view_editor"], | ||
"data": [ | ||
"views/bi_view_editor_menu.xml", | ||
], | ||
"installable": True, | ||
} |
Binary file added
BIN
+34.6 KB
admin_light_bi_view_editor/static/description/custom_bi_views_menu.png
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,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<record model="ir.ui.menu" id="bi_view_editor.menu_bi_view_editor_custom_reports"> | ||
<field eval="[(6,0,[ref('admin_light_base.group_admin'),ref('base.group_system')])]" name="groups_id" /> | ||
</record> | ||
|
||
<record model="ir.ui.menu" id="bi_view_editor.menu_bi_view_editor_view"> | ||
<field eval="[(6,0,[ref('admin_light_base.group_admin'),ref('base.group_system')])]" name="groups_id" /> | ||
</record> | ||
|
||
</odoo> |