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.
 
 

105 lines
3.6 KiB

<?xml version="1.0" encoding="utf-8"?>
<data>
<record model="ir.ui.view" id="personal_data_form">
<field name="name">Privacy Personal Data Form</field>
<field name="model">privacy.personal.data</field>
<field name="arch" type="xml">
<form>
<header>
<field name="type" widget="statusbar" options="{'clickable': '0'}"/>
</header>
<sheet>
<div class="oe_button_box" name="button_box">
<button
class="oe_stat_button"
icon="fa-archive"
name="toggle_active"
type="object"
>
<field
name="active"
options='{"terminology": "archive"}'
widget="boolean_button"
/>
</button>
</div>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
</div>
<group name="basic">
<field name="categ_id"/>
</group>
<notebook string="Details" name="advanced">
<page string="Description" name="description">
<group name="Personal Data details">
<field name="description" nolabel="1"/>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="personal_data_tree">
<field name="name">Privacy Personal Data Tree</field>
<field name="model">privacy.personal.data</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="categ_id"/>
<field name="type"/>
<field name="description"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="personal_data_search">
<field name="name">Privacy Personal Data Search</field>
<field name="model">privacy.personal.data</field>
<field name="arch" type="xml">
<search>
<field name="name"/>
<field name="categ_id"/>
<field name="description"/>
<field name="type"/>
<separator/>
<filter
string="Archived"
name="inactive"
domain="[('active', '=', False)]"
/>
</search>
</field>
</record>
<record id="personal_data_action" model="ir.actions.act_window">
<field name="name">Personal Data</field>
<field name="res_model">privacy.personal.data</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to add a personal data details.
</p>
</field>
</record>
<menuitem
name="Personal Data"
groups="privacy.group_data_protection_user"
parent="privacy.menu_data_protection_setting"
id="menu_privacy_personal_data"
sequence="10"
/>
<menuitem
name="Personal Data"
sequence="10"
action="personal_data_action"
groups="privacy.group_data_protection_user"
parent="menu_privacy_personal_data"
id="menu_privacy_personal_data_model"
/>
</data>