Jairo Llopis
4 years ago
No known key found for this signature in database
GPG Key ID: 8B8A6900E4831A9B
4 changed files with
11 additions and
26 deletions
-
privacy/__manifest__.py
-
privacy/security/data_protection.xml
-
privacy/views/data_protection_menu_view.xml
-
privacy/views/privacy_activity_view.xml
|
|
@ -2,7 +2,7 @@ |
|
|
|
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html |
|
|
|
{ |
|
|
|
"name": "Data Privacy and Protection", |
|
|
|
"version": "12.0.1.1.0", |
|
|
|
"version": "13.0.1.0.0", |
|
|
|
"category": "Data Protection", |
|
|
|
"summary": "Provides data privacy and protection features " |
|
|
|
"to comply to regulations, such as GDPR.", |
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. |
|
|
|
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> |
|
|
|
<odoo> |
|
|
|
<data noupdate="0"> |
|
|
|
<data> |
|
|
|
<record model="ir.module.category" id="module_category_data_protection"> |
|
|
|
<field name="name">Data Protection</field> |
|
|
|
<field name="sequence">30</field> |
|
|
@ -14,18 +14,9 @@ |
|
|
|
</record> |
|
|
|
<record id="group_data_protection_manager" model="res.groups"> |
|
|
|
<field name="name">Data Protection Manager</field> |
|
|
|
<field |
|
|
|
name="implied_ids" |
|
|
|
eval="[(4, ref('privacy.group_data_protection_user'))]" |
|
|
|
/> |
|
|
|
<field name="implied_ids" eval="[(4, ref('group_data_protection_user'))]" /> |
|
|
|
<field name="category_id" ref="module_category_data_protection" /> |
|
|
|
<field name="users" eval="[(4, ref('base.user_root'))]" /> |
|
|
|
</record> |
|
|
|
<record id="base.user_root" model="res.users"> |
|
|
|
<field |
|
|
|
name="groups_id" |
|
|
|
eval="[(4, ref('group_data_protection_manager'))]" |
|
|
|
/> |
|
|
|
<field name="users" eval="[(4, ref('base.user_admin'))]" /> |
|
|
|
</record> |
|
|
|
</data> |
|
|
|
</odoo> |
|
|
@ -6,7 +6,6 @@ |
|
|
|
<field name="name">Partners</field> |
|
|
|
<field name="type">ir.actions.act_window</field> |
|
|
|
<field name="res_model">res.partner</field> |
|
|
|
<field name="view_type">form</field> |
|
|
|
<field name="view_mode">kanban,tree,form</field> |
|
|
|
</record> |
|
|
|
<menuitem |
|
|
|
|
|
@ -12,18 +12,13 @@ |
|
|
|
</header> |
|
|
|
<sheet> |
|
|
|
<div class="oe_button_box" name="button_box"> |
|
|
|
<button |
|
|
|
class="oe_stat_button" |
|
|
|
icon="fa-archive" |
|
|
|
name="toggle_active" |
|
|
|
type="object" |
|
|
|
> |
|
|
|
<field |
|
|
|
name="active" |
|
|
|
options='{"terminology": "archive"}' |
|
|
|
widget="boolean_button" |
|
|
|
<field name="active" invisible="1" /> |
|
|
|
<widget |
|
|
|
name="web_ribbon" |
|
|
|
title="Archived" |
|
|
|
bg_color="bg-danger" |
|
|
|
attrs="{'invisible': [('active', '=', True)]}" |
|
|
|
/> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
<div class="oe_title"> |
|
|
|
<label for="name" class="oe_edit_only" /> |
|
|
|