crea un almacén al crea un nuevo nodo si no se define movido menús al root de network_partner
31 lines
1.1 KiB
XML
31 lines
1.1 KiB
XML
<odoo>
|
|
<data noupdate="0">
|
|
|
|
<record id="view_partner_network_net_form" model="ir.ui.view">
|
|
<field name="name">partner.network.nets.form</field>
|
|
<field name="model">partner.network</field>
|
|
<field eval="8" name="priority"/>
|
|
<field name="arch" type="xml">
|
|
<form string="Redes">
|
|
<group col="4">
|
|
<field name="name"/>
|
|
<field name="nodes_ids" widget="many2many_tags" />
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_partner_network_net_tree" model="ir.ui.view">
|
|
<field name="name">partner.network.nets.tree</field>
|
|
<field name="model">partner.network</field>
|
|
<field eval="8" name="priority"/>
|
|
<field name="arch" type="xml">
|
|
<tree string="Redes">
|
|
<field name="name"/>
|
|
<field name="nodes_ids" widget="many2many_tags" />
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|