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.
 
 

40 lines
1.8 KiB

<?xml version="1.0" encoding="utf-8"?>
<data>
<record model="ir.ui.view" id="privacy_objective_form">
<field name="name">Privacy objective Form</field>
<field name="model">privacy.objective</field>
<field name="arch" type="xml">
<form>
<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>
<field name="description" nolabel="1"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="privacy_objective_action" model="ir.actions.act_window">
<field name="name">Privacy Objective</field>
<field name="res_model">privacy.objective</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to add a privacy objective.
</p>
</field>
</record>
<menuitem name="Objective" groups="privacy.group_data_protection_user" parent="privacy.menu_data_protection_setting" id="menu_privacy_objective" sequence="10"/>
<menuitem name="Objective" sequence="10" action="privacy_objective_action" groups="privacy.group_data_protection_user" parent="menu_privacy_objective" id="menu_privacy_objective_model"/>
</data>