You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
2.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <data>
  3. <record model="ir.ui.view" id="activity_form_inherit_personal_data">
  4. <field name="name">Privacy Activity Form Personal Data</field>
  5. <field name="model">privacy.activity</field>
  6. <field name="inherit_id" ref="privacy.activity_form"/>
  7. <field name="arch" type="xml">
  8. <xpath expr="//group[@name='subjects']" position="inside">
  9. <field name="subjects_categ_ids" widget="many2many_tags" string="Category"/>
  10. <field name="legal_ids" widget="many2many_tags" string="Legal"/>
  11. <label for="personal_data_ids" string="Tracked data"/>
  12. <field name="personal_data_ids" nolabel="1"/>
  13. </xpath>
  14. <xpath expr="//group[@name='basic']" position="after">
  15. <group name="controller_details" colspan="4">
  16. <field name="controller_ids"/>
  17. </group>
  18. <group name="objective_details" colspan="4">
  19. <field name="define_objective" string="Define Objective(s)"/>
  20. <field name="objective_ids" attrs='{"invisible": [("define_objective", "=", False)]}'>
  21. <tree name="objective">
  22. <field name="name"/>
  23. <field name="description"/>
  24. </tree>
  25. </field>
  26. </group>
  27. </xpath>
  28. <xpath expr="//group[@name='subjects']" position="after">
  29. <field name="has_sensitive" invisible="1"/>
  30. <group colspan="4" attrs='{"invisible": [("has_sensitive", "=", False)]}'>
  31. <div class="alert alert-warning" role="alert" style="margin-bottom:0px;">
  32. This activity has sensitive data.
  33. </div>
  34. </group>
  35. </xpath>
  36. <!--<xpath expr="//tree[@name='processors']/field[@name='country_id']" position="after">
  37. <field name="internal"/>
  38. </xpath>-->
  39. </field>
  40. </record>
  41. </data>