Browse Source

[MIG] privacy: Migration to 12.0

pull/43/head
Nicolas JEUDY 6 years ago
committed by Mustafa Kantawala
parent
commit
e6992ec3e2
  1. 6
      privacy/README.rst
  2. 2
      privacy/__manifest__.py
  3. 1
      privacy/readme/CONTRIBUTORS.rst
  4. 4
      privacy/static/description/index.html
  5. 25
      privacy/views/privacy_activity_view.xml

6
privacy/README.rst

@ -14,13 +14,13 @@ Data Privacy and Protection
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdata--protection-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdata--protection-lightgray.png?logo=github
:target: https://github.com/OCA/data-protection/tree/11.0/privacy
:target: https://github.com/OCA/data-protection/tree/12.0/privacy
:alt: OCA/data-protection :alt: OCA/data-protection
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/data-protection-11-0/data-protection-11-0-privacy :target: https://translation.odoo-community.org/projects/data-protection-11-0/data-protection-11-0-privacy
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/263/11.0
:target: https://runbot.odoo-community.org/runbot/263/12.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@ -81,6 +81,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
This module is part of the `OCA/data-protection <https://github.com/OCA/data-protection/tree/11.0/privacy>`_ project on GitHub.
This module is part of the `OCA/data-protection <https://github.com/OCA/data-protection/tree/12.0/privacy>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

2
privacy/__manifest__.py

@ -2,7 +2,7 @@
# 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', 'name': 'Data Privacy and Protection',
'version': '11.0.1.0.0',
'version': '12.0.1.0.0',
'category': 'Data Protection', 'category': 'Data Protection',
'summary': 'Provides data privacy and protection features ' 'summary': 'Provides data privacy and protection features '
'to comply to regulations, such as GDPR.', 'to comply to regulations, such as GDPR.',

1
privacy/readme/CONTRIBUTORS.rst

@ -1,2 +1,3 @@
* Miquel Raïch <miquel.raich@eficent.com> * Miquel Raïch <miquel.raich@eficent.com>
* Daniel Reis <dreis.pt@hotmail.com> * Daniel Reis <dreis.pt@hotmail.com>
* Nicolas JEUDY <https://github.com/njeudy>

4
privacy/static/description/index.html

@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/data-protection/tree/11.0/privacy"><img alt="OCA/data-protection" src="https://img.shields.io/badge/github-OCA%2Fdata--protection-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/data-protection-11-0/data-protection-11-0-privacy"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/263/11.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/data-protection/tree/12.0/privacy"><img alt="OCA/data-protection" src="https://img.shields.io/badge/github-OCA%2Fdata--protection-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/data-protection-11-0/data-protection-11-0-privacy"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/263/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This application provides data protection and privacy feature, <p>This application provides data protection and privacy feature,
to comply with regulations such as GDPR.</p> to comply with regulations such as GDPR.</p>
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
@ -423,7 +423,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/data-protection/tree/11.0/privacy">OCA/data-protection</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/data-protection/tree/12.0/privacy">OCA/data-protection</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div> </div>
</div> </div>

25
privacy/views/privacy_activity_view.xml

@ -33,21 +33,36 @@
<group name="basic"> <group name="basic">
<group name="owners"> <group name="owners">
<field name="controller_id"/> <field name="controller_id"/>
<field
name="processor_ids"
widget="many2many_tags"
/>
</group> </group>
<group name="dates">
<field name="create_date" readonly="1"/>
<field name="write_date" readonly="1"/>
<field name="write_uid" readonly="1"/>
</group>
</group>
<separator name="subjects" string="Subjects details"/>
<group name="subjects"> <group name="subjects">
<field name="subject_find"/> <field name="subject_find"/>
<field <field
name="subject_domain" name="subject_domain"
widget="char_domain"
widget="domain"
options='{"model": "res.partner"}' options='{"model": "res.partner"}'
attrs='{"required": [("subject_find", "=", True)], attrs='{"required": [("subject_find", "=", True)],
"invisible": [("subject_find", "=", False)]}' "invisible": [("subject_find", "=", False)]}'
/> />
</group> </group>
<separator name="processors" string="Processors"/>
<group name="processors">
<field
name="processor_ids"
widget="many2many"
>
<tree string="processors">
<field name="name"/>
<field name="email"/>
<field name="country_id"/>
</tree>
</field>
</group> </group>
<notebook string="Details" name="advanced"> <notebook string="Details" name="advanced">
<page string="Description"> <page string="Description">

Loading…
Cancel
Save