diff --git a/privacy/README.rst b/privacy/README.rst new file mode 100644 index 0000000..21cd785 --- /dev/null +++ b/privacy/README.rst @@ -0,0 +1,21 @@ +**This file is going to be generated by oca-gen-addon-readme.** + +*Manual changes will be overwritten.* + +Please provide content in the ``readme`` directory: + +* **DESCRIPTION.rst** (required) +* INSTALL.rst (optional) +* CONFIGURE.rst (optional) +* **USAGE.rst** (optional, highly recommended) +* DEVELOP.rst (optional) +* ROADMAP.rst (optional) +* HISTORY.rst (optional, recommended) +* **CONTRIBUTORS.rst** (optional, highly recommended) +* CREDITS.rst (optional) + +Content of this README will also be drawn from the addon manifest, +from keys such as name, authors, maintainers, development_status, +and license. + +A good, one sentence summary in the manifest is also highly recommended. diff --git a/privacy/__init__.py b/privacy/__init__.py new file mode 100644 index 0000000..40a96af --- /dev/null +++ b/privacy/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/privacy/__openerp__.py b/privacy/__openerp__.py new file mode 100644 index 0000000..d4268c6 --- /dev/null +++ b/privacy/__openerp__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 Eficent Business and IT Consulting Services S.L. +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +{ + 'name': 'Data Privacy and Protection', + 'version': '9.0.1.0.0', + 'category': 'Data Protection', + 'summary': 'Provides data privacy and protection features ' + 'to comply to regulations, such as GDPR.', + 'author': "Eficent, " + "Odoo Community Association (OCA)", + 'website': 'http://www.github.com/OCA/data-protection', + 'license': 'AGPL-3', + 'data': [ + 'security/data_protection.xml', + 'views/data_protection_menu_view.xml', + ], + 'installable': True, + 'application': True, +} diff --git a/privacy/readme/CONTRIBUTORS.rst b/privacy/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..4c0548e --- /dev/null +++ b/privacy/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Miquel Raïch +* Daniel Reis diff --git a/privacy/readme/DESCRIPTION.rst b/privacy/readme/DESCRIPTION.rst new file mode 100644 index 0000000..1d8ddb3 --- /dev/null +++ b/privacy/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This application provides data protection and privacy feature, +to comply with regulations such as GDPR. diff --git a/privacy/readme/USAGE.rst b/privacy/readme/USAGE.rst new file mode 100644 index 0000000..9da9121 --- /dev/null +++ b/privacy/readme/USAGE.rst @@ -0,0 +1,2 @@ +In the "Data Protection", open the "Settings" menu to find and enable +the main features available. diff --git a/privacy/security/data_protection.xml b/privacy/security/data_protection.xml new file mode 100644 index 0000000..cab31f5 --- /dev/null +++ b/privacy/security/data_protection.xml @@ -0,0 +1,25 @@ + + + + + + + Data Protection + 30 + + + + Data Protection User + + + + + + Data Protection Manager + + + + + + diff --git a/privacy/static/description/icon.png b/privacy/static/description/icon.png new file mode 100644 index 0000000..3a0328b Binary files /dev/null and b/privacy/static/description/icon.png differ diff --git a/privacy/views/data_protection_menu_view.xml b/privacy/views/data_protection_menu_view.xml new file mode 100644 index 0000000..39bfc99 --- /dev/null +++ b/privacy/views/data_protection_menu_view.xml @@ -0,0 +1,54 @@ + + + + + + + Partners + ir.actions.act_window + res.partner + form + tree,form + [] + + + + + + + + + + + + +