addons-cm/network_partner/views/partner_node_views.xml
santiky fecbdb7a9c
añade campo warehouse a partner_node
crea un almacén al crea un nuevo nodo si no se define
movido menús al root de network_partner
2022-04-20 15:51:27 +02:00

40 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="0">
<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>