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:
parent
72e7b5087e
commit
fecbdb7a9c
12 changed files with 73 additions and 88 deletions
28
purchase_collective/views/partner_node_views.xml
Normal file
28
purchase_collective/views/partner_node_views.xml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="0">
|
||||
|
||||
<record id="view_partner_network_node_inherit_pc_form" model="ir.ui.view">
|
||||
<field name="name">partner.node.form.wh.view</field>
|
||||
<field name="model">partner.node</field>
|
||||
<field name="inherit_id" ref="network_partner.view_partner_network_node_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="network_id" position="after">
|
||||
<field name="wh_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_partner_network_node_inherit_pc_tree" model="ir.ui.view">
|
||||
<field name="name">partner.node.tree.wh.view</field>
|
||||
<field name="model">partner.node</field>
|
||||
<field name="inherit_id" ref="network_partner.view_partner_network_node_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="network_id" position="after">
|
||||
<field name="wh_id"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue