Odoo modules about association management
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.
 

64 lines
2.0 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_partner_relation_instance_view_form" model="ir.ui.view">
<field name="name">res.partner.relation.instance.view.form</field>
<field name="model">res.partner.relation.instance</field>
<field name="arch" type="xml">
<form>
<sheet>
<div class="oe_title">
<field name="name" />
</div>
<group col="6">
<field name="short" />
<field name="inst_type" />
<field name="parent_id" />
</group>
</sheet>
</form>
</field>
</record>
<record id="res_partner_relation_instance_view_tree" model="ir.ui.view">
<field name="name">res.partner.relation.instance.view.tree</field>
<field name="model">res.partner.relation.instance</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="short" />
<field name="inst_type" />
<field name="parent_id" />
</tree>
</field>
</record>
<record id="res_partner_relation_instance_view_search" model="ir.ui.view">
<field name="name">res.partner.relation.instance.view.search</field>
<field name="model">res.partner.relation.instance</field>
<field name="arch" type="xml">
<search>
<group expand="0" name="group_by">
<filter name="by_inst_type" string="Instance type" context="{'group_by':'inst_type'}" />
</group>
</search>
</field>
</record>
<record id="relation_instance_action" model="ir.actions.act_window">
<field name="name">Relation instances</field>
<field name="res_model">res.partner.relation.instance</field>
<field name="view_mode">tree,form</field>
<field name="domain">[]</field>
<field name="context">{}</field>
</record>
<menuitem
id="relation_instance_menu"
name="Relation instances"
action="relation_instance_action"
groups="base.group_system"
parent="partner_multi_relation.menu_res_partner_relation"
sequence="20" />
</odoo>