[IMP] mail: message_post_user_api don't return the id partner if already exist
[odoo/odoo.git] / addons / stock_location / stock_location_view.xml
1 <?xml version="1.0"?>
2 <openerp>
3     <data>
4
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"/>
12                     <field name="name"/>
13                 </tree>
14             </field>
15         </record>
16
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">
22                     <group col="4">
23                         <field name="name"/>
24                         <newline/>
25                         <field name="company_id" groups="base.group_multi_company"/>
26                         <newline/>
27                         <field name="location_from_id"/>
28                         <field name="location_dest_id"/>
29                         <field name="auto"/>
30                         <field name="delay"/>
31                     </group>
32                 </form>
33             </field>
34         </record>
35
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">
45                                 <field name="name"/>
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"/>
50                             </tree>
51                             <form string="Pulled Paths">
52                                 <group>
53                                     <group string="Conditions">
54                                         <field name="name" placeholder="Fulfill needs on location X from location Y "/>
55                                         <field name="location_id"/>
56                                     </group>
57                                     <group string="Action Type">
58                                         <field name="type_proc"/>
59                                         <field name="company_id"/>
60                                     </group>
61                                 </group>
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"/>
70                                 </group>
71                             </form>
72                         </field>
73                     </group>
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"/>
79                                 <field name="auto"/>
80                                 <field name="name"/>
81                                 <field name="invoice_state"/>
82                                 <field name="company_id" groups="base.group_multi_company"/>
83                             </tree>
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"/>
88                                 <field name="auto"/>
89                                 <field name="delay"/>
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"/>
94                             </form>
95                         </field>
96                     </group>
97                 </group>
98             </field>
99        </record>
100     </data>
101 </openerp>