Jairo Llopis
4 years ago
No known key found for this signature in database
GPG Key ID: 8B8A6900E4831A9B
10 changed files with 124 additions and 134 deletions
-
40privacy/__manifest__.py
-
6privacy/demo/res_users.xml
-
21privacy/models/privacy_activity.py
-
25privacy/security/data_protection.xml
-
73privacy/views/data_protection_menu_view.xml
-
82privacy/views/privacy_activity_view.xml
-
2setup/.setuptools-odoo-make-default-ignore
-
2setup/README
-
1setup/privacy/odoo/addons/privacy
-
6setup/privacy/setup.py
@ -1,28 +1,22 @@ |
|||||
# Copyright 2018 Eficent Business and IT Consulting Services S.L. |
# Copyright 2018 Eficent Business and IT Consulting Services S.L. |
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html |
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html |
||||
{ |
{ |
||||
'name': 'Data Privacy and Protection', |
|
||||
'version': '12.0.1.1.0', |
|
||||
'category': 'Data Protection', |
|
||||
'summary': 'Provides data privacy and protection features ' |
|
||||
'to comply to regulations, such as GDPR.', |
|
||||
'author': "Eficent, " |
|
||||
"Tecnativa, " |
|
||||
"Odoo Community Association (OCA)", |
|
||||
'website': 'http://www.github.com/OCA/data-protection', |
|
||||
'license': 'AGPL-3', |
|
||||
'data': [ |
|
||||
'security/data_protection.xml', |
|
||||
'security/ir.model.access.csv', |
|
||||
'views/data_protection_menu_view.xml', |
|
||||
'views/privacy_activity_view.xml', |
|
||||
|
"name": "Data Privacy and Protection", |
||||
|
"version": "12.0.1.1.0", |
||||
|
"category": "Data Protection", |
||||
|
"summary": "Provides data privacy and protection features " |
||||
|
"to comply to regulations, such as GDPR.", |
||||
|
"author": "Eficent, " "Tecnativa, " "Odoo Community Association (OCA)", |
||||
|
"website": "http://www.github.com/OCA/data-protection", |
||||
|
"license": "AGPL-3", |
||||
|
"data": [ |
||||
|
"security/data_protection.xml", |
||||
|
"security/ir.model.access.csv", |
||||
|
"views/data_protection_menu_view.xml", |
||||
|
"views/privacy_activity_view.xml", |
||||
], |
], |
||||
'demo': [ |
|
||||
'demo/res_users.xml', |
|
||||
], |
|
||||
'depends': [ |
|
||||
'mail', |
|
||||
], |
|
||||
'installable': True, |
|
||||
'application': True, |
|
||||
|
"demo": ["demo/res_users.xml"], |
||||
|
"depends": ["mail"], |
||||
|
"installable": True, |
||||
|
"application": True, |
||||
} |
} |
@ -1,10 +1,8 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
<!-- Copyright 2018 Tecnativa - Jairo Llopis |
<!-- Copyright 2018 Tecnativa - Jairo Llopis |
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> |
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> |
||||
<data> |
<data> |
||||
|
|
||||
<record id="base.user_demo" model="res.users"> |
<record id="base.user_demo" model="res.users"> |
||||
<field name="groups_id" eval="[(4, ref('group_data_protection_user'))]"/> |
|
||||
|
<field name="groups_id" eval="[(4, ref('group_data_protection_user'))]" /> |
||||
</record> |
</record> |
||||
|
|
||||
</data> |
</data> |
@ -1,30 +1,31 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. |
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. |
||||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> |
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> |
||||
<odoo> |
<odoo> |
||||
<data noupdate="0"> |
<data noupdate="0"> |
||||
|
|
||||
<record model="ir.module.category" id="module_category_data_protection"> |
<record model="ir.module.category" id="module_category_data_protection"> |
||||
<field name="name">Data Protection</field> |
<field name="name">Data Protection</field> |
||||
<field name="sequence">30</field> |
<field name="sequence">30</field> |
||||
</record> |
</record> |
||||
|
|
||||
<record id="group_data_protection_user" model="res.groups"> |
<record id="group_data_protection_user" model="res.groups"> |
||||
<field name="name">Data Protection User</field> |
<field name="name">Data Protection User</field> |
||||
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/> |
|
||||
<field name="category_id" ref="module_category_data_protection"/> |
|
||||
|
<field name="implied_ids" eval="[(4, ref('base.group_user'))]" /> |
||||
|
<field name="category_id" ref="module_category_data_protection" /> |
||||
</record> |
</record> |
||||
|
|
||||
<record id="group_data_protection_manager" model="res.groups"> |
<record id="group_data_protection_manager" model="res.groups"> |
||||
<field name="name">Data Protection Manager</field> |
<field name="name">Data Protection Manager</field> |
||||
<field name="implied_ids" eval="[(4, ref('privacy.group_data_protection_user'))]"/> |
|
||||
<field name="category_id" ref="module_category_data_protection"/> |
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/> |
|
||||
|
<field |
||||
|
name="implied_ids" |
||||
|
eval="[(4, ref('privacy.group_data_protection_user'))]" |
||||
|
/> |
||||
|
<field name="category_id" ref="module_category_data_protection" /> |
||||
|
<field name="users" eval="[(4, ref('base.user_root'))]" /> |
||||
</record> |
</record> |
||||
|
|
||||
<record id="base.user_root" model="res.users"> |
<record id="base.user_root" model="res.users"> |
||||
<field name="groups_id" eval="[(4, ref('group_data_protection_manager'))]"/> |
|
||||
|
<field |
||||
|
name="groups_id" |
||||
|
eval="[(4, ref('group_data_protection_manager'))]" |
||||
|
/> |
||||
</record> |
</record> |
||||
|
|
||||
</data> |
</data> |
||||
</odoo> |
</odoo> |
@ -0,0 +1,2 @@ |
|||||
|
# addons listed in this file are ignored by |
||||
|
# setuptools-odoo-make-default (one addon per line) |
@ -0,0 +1,2 @@ |
|||||
|
To learn more about this directory, please visit |
||||
|
https://pypi.python.org/pypi/setuptools-odoo |
@ -0,0 +1 @@ |
|||||
|
../../../../privacy |
@ -0,0 +1,6 @@ |
|||||
|
import setuptools |
||||
|
|
||||
|
setuptools.setup( |
||||
|
setup_requires=['setuptools-odoo'], |
||||
|
odoo_addon=True, |
||||
|
) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue