diff --git a/privacy/__manifest__.py b/privacy/__manifest__.py index 4b6fd98..166fc06 100644 --- a/privacy/__manifest__.py +++ b/privacy/__manifest__.py @@ -2,12 +2,12 @@ # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html { "name": "Data Privacy and Protection", - "version": "13.0.1.0.0", + "version": "14.0.1.0.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", + "website": "https://github.com/OCA/data-protection", "license": "AGPL-3", "data": [ "security/data_protection.xml", diff --git a/privacy/models/privacy_activity.py b/privacy/models/privacy_activity.py index 48496e0..cc1ff25 100644 --- a/privacy/models/privacy_activity.py +++ b/privacy/models/privacy_activity.py @@ -9,8 +9,15 @@ class PrivacyActivity(models.Model): _description = "Data processing activities" _inherit = ["mail.thread", "mail.activity.mixin"] - active = fields.Boolean(default=True, index=True,) - name = fields.Char(index=True, required=True, translate=True,) + active = fields.Boolean( + default=True, + index=True, + ) + name = fields.Char( + index=True, + required=True, + translate=True, + ) description = fields.Html( translate=True, help="How is personal data used here? Why? Etc." ) @@ -29,7 +36,8 @@ class PrivacyActivity(models.Model): help="Whoever processes personal data on behalf of the controller.", ) subject_find = fields.Boolean( - "Define subjects", help="Are affected subjects present in this database?", + "Define subjects", + help="Are affected subjects present in this database?", ) subject_domain = fields.Char( "Subjects filter", diff --git a/setup/privacy/odoo/addons/privacy b/setup/privacy/odoo/addons/privacy new file mode 120000 index 0000000..babb15b --- /dev/null +++ b/setup/privacy/odoo/addons/privacy @@ -0,0 +1 @@ +../../../../privacy \ No newline at end of file diff --git a/setup/privacy/setup.py b/setup/privacy/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/privacy/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)