5 <record id="stock_location_path_tree" model="ir.ui.view">
6 <field name="name">stock.location.path.tree</field>
7 <field name="model">stock.location.path</field>
8 <field name="arch" type="xml">
9 <tree string="Location Paths">
10 <field name="location_from_id"/>
11 <field name="location_dest_id"/>
17 <record id="stock_location_path_form" model="ir.ui.view">
18 <field name="name">stock.location.path.form</field>
19 <field name="model">stock.location.path</field>
20 <field name="arch" type="xml">
21 <form string="Location Paths" version="7.0">
25 <field name="company_id" groups="base.group_multi_company"/>
27 <field name="location_from_id"/>
28 <field name="location_dest_id"/>
36 <record id="product_normal_form_inherit_location" model="ir.ui.view">
37 <field name="name">product.product.form</field>
38 <field name="model">product.product</field>
39 <field name="inherit_id" ref="product.product_normal_form_view"/>
40 <field name="arch" type="xml">
41 <group name="inventory" position="after">
42 <group string="Pull Flow">
43 <field name="flow_pull_ids" colspan="4" nolabel="1">
44 <tree string="Pulled flows">
46 <field name="location_id" attrs="{'required': [('type_proc', '=', 'move')]}"/>
47 <field name="type_proc"/>
48 <field name="journal_id"/>
49 <field name="company_id" groups="base.group_multi_company"/>
51 <form string="Pulled Paths">
53 <group string="Conditions">
54 <field name="name" placeholder="Fulfill needs on location X from location Y "/>
55 <field name="location_id"/>
57 <group string="Action Type">
58 <field name="type_proc"/>
59 <field name="company_id"/>
62 <group attrs="{'invisible':[('type_proc','!=','move')]}">
63 <field name="location_src_id" attrs="{'required': [('type_proc', '=', 'move')]}"/>
64 <field name="picking_type"/>
65 <field name="partner_address_id"/>
66 <field name="procure_method"/>
67 <field name="cancel_cascade"/>
68 <field name="invoice_state"/>
69 <field name="journal_id"/>
74 <group string="Push Flow">
75 <field name="path_ids" nolabel="1">
76 <tree string="Pushed flows">
77 <field name="location_from_id"/>
78 <field name="location_dest_id"/>
81 <field name="invoice_state"/>
82 <field name="company_id" groups="base.group_multi_company"/>
84 <form string="Pushed flows">
85 <field name="name" placeholder="When receiving at location X, move to location Y"/>
86 <field name="location_from_id"/>
87 <field name="location_dest_id"/>
90 <field name="journal_id"/>
91 <field name="picking_type"/>
92 <field name="invoice_state"/>
93 <field name="company_id" groups="base.group_multi_company"/>