Browse Source

[MIG][13.0] Privacy.

pull/43/head
Mustufa Kantawala 4 years ago
parent
commit
fc204323f6
  1. 1
      privacy/README.rst
  2. 5
      privacy/demo/res_users.xml
  3. 1
      privacy/readme/CONTRIBUTORS.rst
  4. 48
      privacy/security/data_protection.xml
  5. 1
      privacy/static/description/index.html
  6. 6
      privacy/views/data_protection_menu_view.xml
  7. 5
      privacy/views/privacy_activity_view.xml

1
privacy/README.rst

@ -68,6 +68,7 @@ Contributors
* Miquel Raïch <miquel.raich@eficent.com>
* Daniel Reis <dreis.pt@hotmail.com>
* Nicolas JEUDY <https://github.com/njeudy>
* TechUltra Solutions Pvt. Ltd. <contact@techultra.in>
Maintainers
~~~~~~~~~~~

5
privacy/demo/res_users.xml

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018 Tecnativa - Jairo Llopis
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<data>
<odoo>
<record id="base.user_demo" model="res.users">
<field name="groups_id" eval="[(4, ref('group_data_protection_user'))]" />
</record>
</data>
</odoo>

1
privacy/readme/CONTRIBUTORS.rst

@ -1,3 +1,4 @@
* Miquel Raïch <miquel.raich@eficent.com>
* Daniel Reis <dreis.pt@hotmail.com>
* Nicolas JEUDY <https://github.com/njeudy>
* TechUltra Solutions Pvt. Ltd. <contact@techultra.in>

48
privacy/security/data_protection.xml

@ -1,31 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- 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">
<record model="ir.module.category" id="module_category_data_protection">
<field name="name">Data Protection</field>
<field name="sequence">30</field>
</record>
<record id="group_data_protection_user" model="res.groups">
<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" />
</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="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'))]"
/>
</record>
</data>
<record model="ir.module.category" id="module_category_data_protection">
<field name="name">Data Protection</field>
<field name="sequence">30</field>
</record>
<record id="group_data_protection_user" model="res.groups">
<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" />
</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="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'))]" />
</record>
</odoo>

1
privacy/static/description/index.html

@ -415,6 +415,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Miquel Raïch &lt;<a class="reference external" href="mailto:miquel.raich&#64;eficent.com">miquel.raich&#64;eficent.com</a>&gt;</li>
<li>Daniel Reis &lt;<a class="reference external" href="mailto:dreis.pt&#64;hotmail.com">dreis.pt&#64;hotmail.com</a>&gt;</li>
<li>Nicolas JEUDY &lt;<a class="reference external" href="https://github.com/njeudy">https://github.com/njeudy</a>&gt;</li>
<li>TechUltra Solutions Pvt. Ltd. &lt;<a class="reference external" href="mailto:contact&#64;techultra.in">contact&#64;techultra.in</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">

6
privacy/views/data_protection_menu_view.xml

@ -1,12 +1,10 @@
<?xml version="1.0" ?>
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<data>
<odoo>
<record id="action_data_protection_partner_form" model="ir.actions.act_window">
<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
@ -59,4 +57,4 @@
groups="group_data_protection_manager"
sequence="90"
/>
</data>
</odoo>

5
privacy/views/privacy_activity_view.xml

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018 Tecnativa - Jairo Llopis
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<data>
<odoo>
<record model="ir.ui.view" id="activity_form">
<field name="name">Privacy Activity Form</field>
<field name="model">privacy.activity</field>
@ -133,4 +132,4 @@
id="menu_privacy_activity"
parent="menu_data_protection_master_data"
/>
</data>
</odoo>
Loading…
Cancel
Save