addons-cm/network_partner/views/actions.xml

38 lines
1.5 KiB
XML

<odoo>
<data>
<record id="action_partner_network_nets" model="ir.actions.act_window">
<field name="name">Networks</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">partner.network</field>
<field name="view_mode">tree,form</field>
<field name="context">{ }</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create a new Partner Network.
</p>
</field>
</record>
<record id="action_partner_network_nodes" model="ir.actions.act_window">
<field name="name">Nodes</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">partner.node</field>
<field name="view_mode">tree,form</field>
<field name="context">{ }</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create a new Node.
</p>
</field>
</record>
<record id="action_partner_network_view_node_tree" model="ir.actions.act_window.view">
<field name="sequence" eval="1"/>
<field name="view_mode">tree</field>
<field name="view_id" ref="network_partner.view_partner_network_node_tree"/>
<field name="act_window_id" ref="action_partner_network_nodes"/>
</record>
</data>
</odoo>