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
This commit is contained in:
santiky 2022-04-20 15:51:27 +02:00
parent 72e7b5087e
commit fecbdb7a9c
Signed by: snt
GPG key ID: A9FD34930EADBE71
12 changed files with 73 additions and 88 deletions

View file

@ -4,8 +4,9 @@
<menuitem
id="menu_network_partner_root"
name="Redes de Contactos"
sequence="1"
sequence="5"
groups="group_np_user"
web_icon="network_partner,static/description/icon.png"
/>
<!-- Submenu -->
<menuitem id="menu_network_partner_sub"

View file

@ -9,6 +9,7 @@
<form string="Redes">
<group col="4">
<field name="name"/>
<field name="nodes_ids" widget="many2many_tags" />
</group>
</form>
</field>
@ -21,6 +22,7 @@
<field name="arch" type="xml">
<tree string="Redes">
<field name="name"/>
<field name="nodes_ids" widget="many2many_tags" />
</tree>
</field>
</record>

View file

@ -14,8 +14,8 @@
<sheet>
<group col="4">
<field name="name"/>
<field name="street"/>
<field name="partner_ids"/>
<field name="network_id"/>
<field name="partner_ids" widget="many2many_tags"/>
</group>
</sheet>
</form>
@ -29,8 +29,8 @@
<field name="arch" type="xml">
<tree string="Nodes">
<field name="name"/>
<field name="partner_ids"/>
<field name="street"/>
<field name="network_id"/>
<field name="partner_ids" widget="many2many_tags"/>
</tree>
</field>
</record>