addons-cm/network_partner/views/partner_node_views.xml

40 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_partner_network_node_form" model="ir.ui.view">
<field name="name">partner.network.node.form</field>
<field name="model">partner.node</field>
<field name="priority">20</field>
<field name="arch" type="xml">
<form string="Node">
<header>
<p>Soy el header...</p>
</header>
<sheet>
<group col="4">
<field name="name"/>
<field name="network_id"/>
<field name="partner_ids" widget="many2many_tags"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="view_partner_network_node_tree" model="ir.ui.view">
<field name="name">partner.network.node.tree</field>
<field name="model">partner.node</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<tree string="Nodes">
<field name="name"/>
<field name="network_id"/>
<field name="partner_ids" widget="many2many_tags"/>
</tree>
</field>
</record>
</data>
</odoo>