Launchpad automatic translations update.
[odoo/odoo.git] / addons / product / product_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <menuitem groups="base.group_extended" id="prod_config_main" name="Product" parent="base.menu_base_config" sequence="9"/>
5
6         <record id="product_search_form_view" model="ir.ui.view">
7             <field name="name">product.search.form</field>
8             <field name="model">product.product</field>
9             <field name="type">search</field>
10             <field name="arch" type="xml">
11                 <search string="Product">
12                    <filter string="Services" icon="terp-accessories-archiver" domain="[('type','=','service')]"/>
13                    <filter string="Stockable" icon="terp-accessories-archiver" domain="['|',('type','=','product'),('type','=','consu')]"/>
14                    <separator orientation="vertical"/>
15                    <filter string="To Sell" icon="terp-accessories-archiver-minus" domain="[('sale_ok','=',1)]"/>
16                    <filter name="filter_to_purchase" string="To Purchase" icon="terp-accessories-archiver+" domain="[('purchase_ok', '=', 1)]" />
17                    <separator orientation="vertical"/>
18                    <field name="default_code"/>
19                    <field name="name"/>
20                    <field name="categ_id" widget="selection" operator="child_of" groups="base.group_extended"/>
21                    <newline/>
22                    <group expand="0" string="Extended Filters..." groups="base.group_extended">
23                        <field name="pricelist_id" widget="selection" context="{'pricelist': self}" />
24                    </group>
25                    <newline/>
26                    <group  expand='0' string='Group by...' groups="base.group_extended">
27                        <filter string='Category' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'categ_id'}" />
28                        <separator orientation="vertical"/>
29                        <filter string='Default UOM' icon="terp-mrp" domain="[]" context="{'group_by' : 'uom_id'}" />
30                        <separator orientation="vertical"/>
31                        <filter string='Type' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'type'}" />
32                    </group>
33
34                 </search>
35             </field>
36         </record>
37
38         <record id="product_product_tree_view" model="ir.ui.view">
39             <field name="name">product.product.tree</field>
40             <field name="model">product.product</field>
41             <field name="type">tree</field>
42             <field eval="7" name="priority"/>
43             <field name="arch" type="xml">
44                 <tree colors="red:virtual_available&lt;0;blue:virtual_available&gt;=0 and state in ('draft', 'end', 'obsolete');black:virtual_available&gt;=0 and state not in ('draft', 'end', 'obsolete')" string="Products">
45                     <field name="default_code"/>
46                     <field name="name"/>
47                     <field name="categ_id" invisible="1"/>
48                     <field name="variants" groups="product.group_product_variant"/>
49                     <field name="uom_id" string="UoM"/>
50                     <field name="type"/>
51                     <field name="qty_available"/>
52                     <field name="virtual_available"/>
53                     <field name="lst_price"/>
54                     <field name="price" invisible="not context.get('pricelist',False)"/>
55                     <field name="standard_price"/>
56                     <field name="state" groups="base.group_extended"/>
57                 </tree>
58             </field>
59         </record>
60         <record id="product_normal_form_view" model="ir.ui.view">
61             <field name="name">product.normal.form</field>
62             <field name="model">product.product</field>
63             <field name="type">form</field>
64             <field eval="7" name="priority"/>
65             <field name="arch" type="xml">
66                 <form string="Product">
67                    <group colspan="4" col="6">
68                     <group colspan="4" col="2">
69                         <separator string="Name" colspan="2"/>
70                         <field name="name"/>
71                         <field groups="product.group_product_variant" name="variants" />
72                     </group>
73                     <group colspan="1" col="2">
74                         <separator string="Codes" colspan="2"/>
75                         <field name="default_code"/>
76                         <field name="ean13" groups="base.group_extended"/>
77                     </group>
78                     <group colspan="1" col="2">
79                         <separator string="Characteristics" colspan="2"/>
80                         <field name="sale_ok"/>
81                         <field name="purchase_ok"/>
82                     </group>
83                    </group>
84
85                     <notebook colspan="4">
86                         <page string="Information">
87                             <group colspan="2" col="2">
88                                 <separator string="Procurement" colspan="2"/>
89                                 <field name="type"/>
90                                 <field name="procure_method" groups="base.group_extended"/>
91                                 <field name="supply_method"/>
92                             </group>
93                             <group colspan="2" col="2">
94                                 <separator string="Base Prices" colspan="2"/>
95                                 <field groups="base.group_extended" name="cost_method"/>
96                                 <field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}"/>
97                                 <field name="list_price"/>
98                                 <newline/>
99                                 <field name="price_margin" groups="product.group_product_variant"/>
100                                 <field name="price_extra" groups="product.group_product_variant"/>
101                             </group>
102
103                             <group colspan="2" col="2" groups="base.group_extended">
104                                 <separator string="Weights" colspan="2"/>
105                                 <field digits="(14, 3)" name="volume" attrs="{'readonly':[('type','=','service')]}"/>
106                                 <field digits="(14, 3)" name="weight" attrs="{'readonly':[('type','=','service')]}"/>
107                                 <field digits="(14, 3)" name="weight_net" attrs="{'readonly':[('type','=','service')]}"/>
108                             </group>
109
110                             <group colspan="2" col="2" name="status" groups="base.group_extended">
111                                 <separator string="Status" colspan="2"/>
112                                 <field name="categ_id"/>
113                                 <field name="state"/>
114                                 <field name="product_manager"/>
115                             </group>
116
117                             <group colspan="2" col="2" name="uom">
118                                 <separator string="Unit of Measure" colspan="2"/>
119                                 <field name="uom_id" on_change="onchange_uom(uom_id,uom_po_id)"/>
120                                 <field name="uom_po_id" groups="base.group_extended"/>
121                             </group>
122
123                             <group colspan="2" col="2" name="uos" groups="product.group_uos">
124                                 <separator string="Second UoM" colspan="2"/>
125                                 <field name="uos_id"/>
126                                 <field name="uos_coeff"/>
127                                 <field name="mes_type"/>
128                             </group>
129
130                         </page>
131                         <page string="Procurement &amp; Locations">
132                             <group colspan="2" col="2" name="delay">
133                                 <separator string="Delays" colspan="2"/>
134                                 <field name="sale_delay" attrs="{'readonly':[('sale_ok','=',0)]}"/>
135                                 <field name="produce_delay"/>
136                                 <field name="warranty"/>
137                             </group>
138                             <group colspan="2" col="2" name="store">
139                                 <separator string="Storage Localisation" colspan="2"/>
140                                 <field name="loc_rack" attrs="{'readonly':[('type','=','service')]}" />
141                                 <field name="loc_row" attrs="{'readonly':[('type','=','service')]}"/>
142                                 <field name="loc_case" attrs="{'readonly':[('type','=','service')]}"/>
143                             </group>
144
145                             <group colspan="2" col="2" name="misc" groups="base.group_extended">
146                                 <separator string="Miscellaneous" colspan="2"/>
147                                 <field name="active"/>
148                                 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
149                             </group>
150
151                         </page>
152                         <page string="Suppliers">
153                             <field colspan="4" name="seller_ids" nolabel="1"/>
154                         </page>
155                         <page string="Descriptions">
156                             <separator string="Description"/>
157                             <field colspan="4" name="description" nolabel="1"/>
158                             <separator string="Sale Description"/>
159                             <field colspan="4" name="description_sale" nolabel="1"/>
160                             <separator string="Purchase Description"/>
161                             <field colspan="4" name="description_purchase" nolabel="1"/>
162                         </page>
163                         <page groups="base.group_extended" string="Packaging">
164                             <field colspan="4" name="packaging" nolabel="1">
165                                 <form string="Packaging">
166                                     <field name="ean"/>
167                                     <field name="sequence" invisible="1"/>
168                                     <newline/>
169                                     <field name="qty"/>
170                                     <field name="ul"/>
171                                     <field name="weight_ul"/>
172                                     <separator colspan="4" string="Palletization"/>
173                                     <field name="ul_qty"/>
174                                     <field name="rows"/>
175                                     <field name="weight"/>
176                                     <separator colspan="4" string="Pallet Dimension"/>
177                                     <field name="height"/>
178                                     <field name="width"/>
179                                     <field name="length"/>
180                                     <separator colspan="4" string="Description"/>
181                                     <field colspan="4" name="name" nolabel="1"/>
182                                 </form>
183                             </field>
184                         </page>
185                     </notebook>
186                 </form>
187             </field>
188         </record>
189         <record id="product_normal_action" model="ir.actions.act_window">
190             <field name="name">Products</field>
191             <field name="type">ir.actions.act_window</field>
192             <field name="res_model">product.product</field>
193             <field name="view_type">form</field>
194             <field name="view_id" ref="product_product_tree_view"/>
195             <field name="search_view_id" ref="product_search_form_view"/>
196             <field name="help">You must define a Product for everything you buy or sell. Products can be raw materials, stockable products, consumables or services. The Product form contains detailed information about your products related to procurement logistics, sales price, product category, suppliers and so on.</field>
197         </record>
198
199         <menuitem id="base.menu_product" name="Products" parent="base.menu_base_partner" sequence="9"/>
200         <menuitem action="product.product_normal_action" id="product.menu_products" parent="base.menu_product" sequence="1"/>
201
202         <record id="product_normal_action_puchased" model="ir.actions.act_window">
203             <field name="name">Products</field>
204             <field name="type">ir.actions.act_window</field>
205             <field name="res_model">product.product</field>
206             <field name="view_type">form</field>
207             <field name="context">{"search_default_filter_to_purchase":1}</field>
208             <field name="view_id" ref="product_product_tree_view"/>
209             <field name="search_view_id" ref="product_search_form_view"/>
210             <field name="help">Products can be purchased and/or sold. They can be raw materials, stockable products, consumables or services. The Product form contains detailed information about your products related to procurement logistics, sales price, product category, suppliers and so on.</field>
211         </record>
212
213         <record id="product_category_form_view" model="ir.ui.view">
214             <field name="name">product.category.form</field>
215             <field name="model">product.category</field>
216             <field name="type">form</field>
217             <field name="arch" type="xml">
218                 <form string="Product Categories">
219                     <field name="name" select="1"/>
220                     <field name="parent_id"/>
221                     <field name="sequence" invisible="1"/>
222                     <field name="type"/>
223                     <newline/>
224                 </form>
225             </field>
226         </record>
227         <record id="product_category_list_view" model="ir.ui.view">
228             <field name="name">product.category.list</field>
229             <field name="model">product.category</field>
230             <field name="type">tree</field>
231             <field name="priority">1</field>
232             <field name="arch" type="xml">
233                 <tree string="Product Categories">
234                     <field name="complete_name"/>
235                 </tree>
236             </field>
237         </record>
238         <record id="product_category_tree_view" model="ir.ui.view">
239             <field name="name">product.category.tree</field>
240             <field name="model">product.category</field>
241             <field name="type">tree</field>
242             <field name="field_parent">child_id</field>
243             <field name="arch" type="xml">
244                 <tree toolbar="True" string="Product Categories">
245                     <field name="name"/>
246                 </tree>
247             </field>
248         </record>
249         <record id="product_category_action" model="ir.actions.act_window">
250             <field name="name">Products by Category</field>
251             <field name="type">ir.actions.act_window</field>
252             <field name="res_model">product.category</field>
253             <field name="domain">[('parent_id','=',False)]</field>
254             <field name="view_type">tree</field>
255             <field name="view_id" ref="product_category_tree_view"/>
256             <field name="help">Here is a list of all your products classified by category. You can click a category to get the list of all products linked to this category or to a child of this category.</field>
257         </record>
258         <menuitem
259             action="product_category_action"
260             id="product.menu_products_category"
261             groups="base.group_extended"
262             parent="base.menu_product"
263             sequence="0"/>
264         <record id="product_category_action_form" model="ir.actions.act_window">
265             <field name="name">Products Categories</field>
266             <field name="type">ir.actions.act_window</field>
267             <field name="res_model">product.category</field>
268             <field name="view_type">form</field>
269             <field name="view_id" ref="product_category_list_view"/>
270         </record>
271         <menuitem action="product_category_action_form"
272             groups="base.group_extended"
273             id="menu_product_category_action_form"
274             parent="prod_config_main" sequence="2"/>
275
276
277         <record id="product_normal_action_tree" model="ir.actions.act_window">
278             <field name="name">Products</field>
279             <field name="type">ir.actions.act_window</field>
280             <field name="res_model">product.product</field>
281             <field name="view_type">form</field>
282             <field name="view_mode">tree,form</field>
283             <field name="domain">[('categ_id','child_of',[active_id])]</field>
284             <field name="context">{'categ_id':active_id}</field>
285         </record>
286         <record id="ir_product_category_open" model="ir.values">
287             <field eval="'tree_but_open'" name="key2"/>
288             <field eval="'product.category'" name="model"/>
289             <field name="name">Products by Categories</field>
290             <field eval="'ir.actions.act_window,%d'%product_normal_action_tree" name="value"/>
291             <field eval="True" name="object"/>
292         </record>
293
294
295         <!-- Unit of Measure -->
296
297         <record id="product_uom_tree_view" model="ir.ui.view">
298             <field name="name">product.uom.tree</field>
299             <field name="model">product.uom</field>
300             <field name="type">tree</field>
301             <field name="arch" type="xml">
302                 <tree string="Units of Measure">
303                     <field name="name"/>
304                     <field name="category_id"/>
305                     <field name="factor"/>
306                 </tree>
307             </field>
308         </record>
309
310         <record id="product_uom_form_view" model="ir.ui.view">
311             <field name="name">product.uom.form</field>
312             <field name="model">product.uom</field>
313             <field name="type">form</field>
314             <field name="arch" type="xml">
315                 <form string="Units of Measure">
316                     <group col="6" colspan="4">
317                         <group col="2"  colspan="2">
318                             <separator string="Unit of Measure Properties" colspan="4"/>
319                             <field name="name" select="1"/>
320                             <field name="category_id" select="1" widget="selection"/>
321                             <field name="active"/>
322                         </group>
323                         <group col="4"  colspan="4">
324                             <separator string="Ratio &amp; Precision" colspan="4"/>
325                             <group colspan="2" col="2">
326                                  <field name="uom_type" on_change="onchange_type(uom_type)"/>
327                                  <field name="rounding"/>
328                             </group>
329                             <group colspan="2" col="2">
330                                   <group col="2" colspan="2" attrs="{'invisible':[('uom_type','!=','smaller')]}">
331                                         <field name="factor"/>
332                                         <label colspan="2" string="  e.g: 1 * (reference unit) = ratio * (this unit)"/>
333                                    </group>
334                                    <group col="2" colspan="2" attrs="{'invisible':[('uom_type','!=','bigger')]}">
335                                         <field name="factor_inv"/>
336                                         <label colspan="2"  string="  e.g: 1 * (this unit) = ratio * (reference unit)"/>
337                                    </group>
338                             </group>
339                         </group>
340                     </group>
341                 </form>
342             </field>
343         </record>
344         <record id="product_uom_form_action" model="ir.actions.act_window">
345             <field name="name">Units of Measure</field>
346             <field name="type">ir.actions.act_window</field>
347             <field name="res_model">product.uom</field>
348             <field name="view_type">form</field>
349             <field name="view_id" ref="product_uom_tree_view"/>
350             <field name="help">Create and manage the units of measure you want to be used in your system. You can define a conversion rate between several Units of Measure within the same category.</field>
351         </record>
352         <menuitem id="next_id_16" name="Units of Measure" parent="prod_config_main" sequence="65"/>
353         <menuitem action="product_uom_form_action" id="menu_product_uom_form_action" parent="next_id_16"/>
354
355         <record id="product_uom_categ_form_view" model="ir.ui.view">
356             <field name="name">product.uom.categ.form</field>
357             <field name="model">product.uom.categ</field>
358             <field name="type">form</field>
359             <field name="arch" type="xml">
360                 <form string="Units of Measure categories">
361                     <field colspan="4" name="name" select="1"/>
362                 </form>
363             </field>
364         </record>
365         <record id="product_uom_categ_form_action" model="ir.actions.act_window">
366             <field name="name">Units of Measure Categories</field>
367             <field name="type">ir.actions.act_window</field>
368             <field name="res_model">product.uom.categ</field>
369             <field name="view_type">form</field>
370             <field name="view_mode">tree,form</field>
371             <field name="help">Create and manage the units of measure categories you want to be used in your system. If several units of measure are in the same category, they can be converted to each other. For example, in the unit of measure category "Time", you will have the following UoM: Hours, Days.</field>
372         </record>
373         <menuitem action="product_uom_categ_form_action" id="menu_product_uom_categ_form_action" parent="product.next_id_16" sequence="5"/>
374
375         <record id="product_ul_form_view" model="ir.ui.view">
376             <field name="name">product.ul.form.view</field>
377             <field name="model">product.ul</field>
378             <field name="type">form</field>
379             <field name="arch" type="xml">
380                 <form string="Packaging">
381                     <field name="name" select="1" />
382                     <field name="type" select="1" />
383                 </form>
384             </field>
385         </record>
386         <record id="product_ul_tree" model="ir.ui.view">
387             <field name="name">product.ul.tree</field>
388             <field name="model">product.ul</field>
389             <field name="type">tree</field>
390             <field name="arch" type="xml">
391                 <tree string="Packaging">
392                     <field name="name" select="1"/>
393                     <field name="type" select="1"/>
394                 </tree>
395             </field>
396         </record>
397         <record id="product_ul_form_action" model="ir.actions.act_window">
398             <field name="name">Packaging</field>
399             <field name="type">ir.actions.act_window</field>
400             <field name="res_model">product.ul</field>
401             <field name="view_type">form</field>
402             <field name="view_mode">tree,form</field>
403             <field name="help">Create and manage your packaging dimensions and types you want to be maintained in your system.</field>
404         </record>
405         <menuitem
406             action="product_ul_form_action" groups="base.group_extended" id="menu_product_ul_form_action" parent="prod_config_main" sequence="3"/>
407
408         <record id="product_packaging_tree_view" model="ir.ui.view">
409             <field name="name">product.packaging.tree.view</field>
410             <field name="model">product.packaging</field>
411             <field name="type">tree</field>
412             <field name="arch" type="xml">
413                 <tree string="Packaging">
414                     <field name="sequence" invisible="1"/>
415                     <field name="ean"/>
416                     <field name="qty"/>
417                     <field name="ul"/>
418                 </tree>
419             </field>
420         </record>
421
422         <record id="product_packaging_form_view" model="ir.ui.view">
423             <field name="name">product.packaging.form.view</field>
424             <field name="model">product.packaging</field>
425             <field name="type">form</field>
426             <field name="arch" type="xml">
427                 <form string="Packaging">
428                     <field name="product_id" select="1"/>
429                     <newline/>
430                     <field name="ean" select="1"/>
431                     <field name="sequence" invisible="1"/>
432                     <newline/>
433                     <field name="qty" select="1"/>
434                     <field name="ul"/>
435                     <field name="weight_ul"/>
436                     <separator colspan="4" string="Palletization"/>
437                     <field name="ul_qty"/>
438                     <field name="rows"/>
439                     <field name="weight"/>
440                     <separator colspan="4" string="Pallet Dimension"/>
441                     <field name="height"/>
442                     <field name="width"/>
443                     <field name="length"/>
444                     <separator colspan="4" string="Other Info"/>
445                     <field colspan="4" name="name" select="1"/>
446                 </form>
447             </field>
448         </record>
449
450         <record id="product_supplierinfo_form_view" model="ir.ui.view">
451             <field name="name">product.supplierinfo.form.view</field>
452             <field name="model">product.supplierinfo</field>
453             <field name="type">form</field>
454             <field name="arch" type="xml">
455                 <form string="Supplier Information">
456                     <field name="name"/>
457                     <field name="sequence"/>
458                     <field name="product_name" groups="base.group_extended"/>
459                     <field name="product_code" groups="base.group_extended"/>
460                     <field name="min_qty"/>
461                     <field name="product_uom"/>
462                     <field name="delay"/>
463                     <field name="company_id" groups="base.group_multi_company" widget="selection"/>
464                     <field colspan="4" groups="base.group_extended" name="pricelist_ids" nolabel="1" widget="one2many_list">
465                         <tree editable="bottom" string="Pricelist">
466                             <field name="min_quantity"/>
467                             <field name="price"/>
468                         </tree>
469                         <form>
470                             <field name="min_quantity"/>
471                             <field name="price"/>
472                         </form>
473                     </field>
474                 </form>
475             </field>
476         </record>
477         <record id="product_supplierinfo_tree_view" model="ir.ui.view">
478             <field name="name">product.supplierinfo.tree.view</field>
479             <field name="model">product.supplierinfo</field>
480             <field name="type">tree</field>
481             <field name="arch" type="xml">
482                 <tree string="Supplier Information">
483                     <field name="sequence" string="Seq"/>
484                     <field name="name"/>
485                     <field name="delay"/>
486                     <field name="min_qty"/>
487                     <field name="company_id" groups="base.group_multi_company" widget="selection"/>
488                 </tree>
489             </field>
490         </record>
491
492         <record id="product_variant_form_view" model="ir.ui.view">
493             <field name="name">product.variant.form</field>
494             <field name="model">product.product</field>
495             <field name="type">form</field>
496             <field name="arch" type="xml">
497                 <form string="Product Variant">
498                      <field name="product_tmpl_id" select="1"/>
499                     <field name="active" select="1"/>
500                     <field name="variants" select="1"/>
501                     <field name="default_code" select="1"/>
502                     <field name="price_margin" select="1"/>
503                     <field name="price_extra" select="1"/>
504                 </form>
505             </field>
506         </record>
507
508         <record id="product_variant_tree_view" model="ir.ui.view">
509             <field name="name">product.variant.tree</field>
510             <field name="model">product.product</field>
511             <field name="type">tree</field>
512             <field name="arch" type="xml">
513                 <tree string="Product Variant">
514                     <field name="product_tmpl_id"/>
515                     <field name="active"/>
516                     <field name="variants"/>
517                     <field name="default_code"/>
518                     <field name="price_margin"/>
519                     <field name="price_extra"/>
520                 </tree>
521             </field>
522         </record>
523
524         <record id="product_template_tree_view" model="ir.ui.view">
525             <field name="name">product.template.product.tree</field>
526             <field name="model">product.template</field>
527             <field name="type">tree</field>
528             <field name="arch" type="xml">
529                 <tree string="Product Template">
530                     <field name="name"/>
531                     <field name="categ_id"/>
532                     <field name="type"/>
533                     <field name="state" groups="base.group_extended"/>
534                 </tree>
535             </field>
536         </record>
537
538         <record id="product_template_form_view" model="ir.ui.view">
539             <field name="name">product.template.product.form</field>
540             <field name="model">product.template</field>
541             <field name="type">form</field>
542             <field name="arch" type="xml">
543                 <form string="Product Template">
544                     <group colspan="2" col="4">
545                         <separator string="Product Description" colspan="4"/>
546                         <field name="name" select="1"/>
547                     </group>
548                     <group colspan="2" col="2">
549                         <separator string="Product Type" colspan="2"/>
550                         <field name="sale_ok"/>
551                         <field name="purchase_ok"/>
552                     </group>
553                     <notebook colspan="4">
554                         <page string="Information">
555                             <group colspan="2" col="2">
556                                 <separator string="Procurement" colspan="2"/>
557                                 <field name="type"/>
558                                 <field name="procure_method" groups="base.group_extended"/>
559                                 <field name="supply_method"/>
560                             </group>
561
562                             <group colspan="2" col="2">
563                                 <separator string="Base Prices" colspan="2"/>
564                                 <field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}"/>
565                                 <field name="list_price"/>
566                                 <field groups="base.group_extended" name="cost_method"/>
567                             </group>
568
569                             <group colspan="2" col="2" groups="base.group_extended">
570                                 <separator string="Weights" colspan="2"/>
571                                 <field digits="(14, 3)" name="volume" attrs="{'readonly':[('type','=','service')]}"/>
572                                 <field digits="(14, 3)" name="weight" attrs="{'readonly':[('type','=','service')]}"/>
573                                 <field digits="(14, 3)" name="weight_net" attrs="{'readonly':[('type','=','service')]}"/>
574                             </group>
575
576                             <group colspan="2" col="2" name="status" groups="base.group_extended">
577                                 <separator string="Status" colspan="2"/>
578                                 <field name="categ_id" select="1"/>
579                                 <field name="state"/>
580                                 <field name="product_manager"/>
581                             </group>
582
583                             <group colspan="2" col="2" name="uom">
584                                 <separator string="UOM" colspan="2"/>
585                                 <field name="uom_id" on_change="onchange_uom(uom_id,uom_po_id)"/>
586                                 <field name="uom_po_id" groups="base.group_extended"/>
587                             </group>
588
589                             <group colspan="2" col="2" name="uos" groups="product.group_uos">
590                                 <separator string="Second UoM" colspan="2"/>
591                                 <field name="uos_id"/>
592                                 <field name="uos_coeff"/>
593                                 <field name="mes_type"/>
594                             </group>
595
596                         </page>
597                         <page string="Procurement &amp; Locations" groups="base.group_extended">
598                             <group colspan="2" col="2" name="delay">
599                                 <separator string="Delays" colspan="2"/>
600                                 <field name="sale_delay" attrs="{'readonly':[('sale_ok','=',0)]}"/>
601                                 <field name="produce_delay"/>
602                                 <field name="warranty"/>
603                             </group>
604                             <group colspan="2" col="2" name="store">
605                                 <separator string="Storage Localisation" colspan="2"/>
606                                 <field name="loc_rack"/>
607                                 <field name="loc_row"/>
608                                 <field name="loc_case"/>
609                             </group>
610                             <group colspan="2" col="2" name="misc">
611                                 <separator string="Miscelleanous" colspan="2"/>
612                             </group>
613
614                         </page>
615                         <page string="Suppliers">
616                             <field colspan="4" name="seller_ids" nolabel="1"/>
617                         </page>
618                         <page string="Descriptions">
619                             <separator string="Description"/>
620                             <field colspan="4" name="description" nolabel="1"/>
621                             <separator string="Sale Description"/>
622                             <field colspan="4" name="description_sale" nolabel="1"/>
623                             <separator string="Purchase Description"/>
624                             <field colspan="4" name="description_purchase" nolabel="1"/>
625                         </page>
626                     </notebook>
627                 </form>
628             </field>
629         </record>
630
631         <record id="product_template_action_tree" model="ir.actions.act_window">
632             <field name="name">Product Templates</field>
633             <field name="type">ir.actions.act_window</field>
634             <field name="res_model">product.template</field>
635             <field name="view_type">form</field>
636             <field name="view_id" ref="product_template_tree_view"/>
637         </record>
638
639     </data>
640 </openerp>