Browse Source
[ADD] Data Protection Settings menu action
pull/50/head
Daniel Reis
6 years ago
committed by
Jairo Llopis
No known key found for this signature in database
GPG Key ID: 8B8A6900E4831A9B
1 changed files with
10 additions and
0 deletions
-
privacy/views/data_protection_menu_view.xml
|
|
@ -44,9 +44,19 @@ |
|
|
|
groups="group_data_protection_user" |
|
|
|
sequence="30" |
|
|
|
/> |
|
|
|
|
|
|
|
<record id="action_data_protection_config" model="ir.actions.act_window"> |
|
|
|
<field name="name">Data Protection Settings</field> |
|
|
|
<field name="type">ir.actions.act_window</field> |
|
|
|
<field name="res_model">res.config.settings</field> |
|
|
|
<field name="view_mode">form</field> |
|
|
|
<field name="target">inline</field> |
|
|
|
<field name="context">{'module': 'data_protection'}</field> |
|
|
|
</record> |
|
|
|
<menuitem id="menu_data_protection_setting" |
|
|
|
name="Settings" |
|
|
|
parent="parent_menu_data_protection" |
|
|
|
action="action_data_protection_config" |
|
|
|
groups="group_data_protection_manager" |
|
|
|
sequence="90" |
|
|
|
/> |
|
|
|