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

<?xml version="1.0" encoding="utf-8"?>
<data>
<record model="ir.ui.view" id="activity_form_inherit_personal_data">
<field name="name">Privacy Activity Form Personal Data</field>
<field name="model">privacy.activity</field>
<field name="inherit_id" ref="privacy.activity_form"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='subjects']" position="inside">
<field name="subjects_categ_ids" widget="many2many_tags" string="Category"/>
<field name="legal_ids" widget="many2many_tags" string="Legal"/>
<label for="personal_data_ids" string="Tracked data"/>
<field name="personal_data_ids" nolabel="1"/>
</xpath>
<xpath expr="//group[@name='basic']" position="after">
<group name="controller_details" colspan="4">
<field name="controller_ids"/>
</group>
<group name="objective_details" colspan="4">
<field name="define_objective" string="Define Objective(s)"/>
<field name="objective_ids" attrs='{"invisible": [("define_objective", "=", False)]}'>
<tree name="objective">
<field name="name"/>
<field name="description"/>
</tree>
</field>
</group>
</xpath>
<xpath expr="//group[@name='subjects']" position="after">
<field name="has_sensitive" invisible="1"/>
<group colspan="4" attrs='{"invisible": [("has_sensitive", "=", False)]}'>
<div class="alert alert-warning" role="alert" style="margin-bottom:0px;">
This activity has sensitive data.
</div>
</group>
</xpath>
<!--<xpath expr="//tree[@name='processors']/field[@name='country_id']" position="after">
<field name="internal"/>
</xpath>-->
</field>
</record>
</data>