Launchpad automatic translations update.
[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                     <field name="flow_pull_ids" colspan="4" nolabel="1">
43                         <tree string="Pulled flows">
44                             <field name="name"/>
45                             <field name="location_id" attrs="{'required': [('type_proc', '=', 'move')]}"/>
46                             <field name="type_proc"/>
47                             <field name="journal_id"/>
48                             <field name="company_id" groups="base.group_multi_company"/>
49                         </tree>
50                         <form string="Pulled Paths">
51                             <group>
52                                 <group string="Conditions">
53                                     <field name="name" placeholder="Fulfill needs on location X from location Y "/>
54                                     <field name="location_id"/>
55                                 </group>
56                                 <group string="Action Type">
57                                     <field name="type_proc"/>
58                                     <field name="company_id"/>
59                                 </group>
60                             </group>
61                             <group attrs="{'invisible':[('type_proc','!=','move')]}">
62                                 <field name="location_src_id" attrs="{'required': [('type_proc', '=', 'move')]}"/>
63                                 <field name="picking_type"/>
64                                 <field name="partner_address_id"/>
65                                 <field name="procure_method"/>
66                                 <field name="cancel_cascade"/>
67                                 <field name="invoice_state"/>
68                                 <field name="journal_id"/>
69                             </group>
70                         </form>
71                     </field>
72                     <field name="path_ids">
73                         <tree string="Pushed flows">
74                             <field name="location_from_id"/>
75                             <field name="location_dest_id"/>
76                             <field name="auto"/>
77                             <field name="name"/>
78                             <field name="invoice_state"/>
79                             <field name="company_id" groups="base.group_multi_company"/>
80                         </tree>
81                         <form string="Pushed flows">
82                             <field name="name" placeholder="When receiving at location X, move to location Y"/>
83                             <field name="location_from_id"/>
84                             <field name="location_dest_id"/>
85                             <field name="auto"/>
86                             <field name="delay"/>
87                             <field name="journal_id"/>
88                             <field name="picking_type"/>
89                             <field name="invoice_state"/>
90                             <field name="company_id" groups="base.group_multi_company"/>
91                         </form>
92                     </field>
93                 </group>
94             </field>
95        </record>
96     </data>
97 </openerp>