[MERGE]: Merge with lp:openobject-trunk-dev-addons2
[odoo/odoo.git] / addons / purchase / purchase_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4        <menuitem icon="terp-purchase" id="base.menu_purchase_root" name="Purchases" sequence="3"
5            groups="group_purchase_manager,group_purchase_user"
6            web_icon="images/purchases.png"
7            web_icon_hover="images/purchases-hover.png"/>
8        <menuitem id="menu_procurement_management" name="Purchase Management"
9             parent="base.menu_purchase_root" sequence="1" />
10
11         <menuitem id="menu_purchase_config_purchase" name="Configuration"
12             parent="base.menu_purchase_root" sequence="100"/>
13
14         <menuitem
15             action="product.product_pricelist_action" id="menu_product_pricelist_action_purhase"
16             parent="menu_purchase_config_purchase" sequence="2"/>
17
18         <menuitem
19             action="product.product_pricelist_action2" id="menu_product_pricelist_action2_purchase"
20             parent="menu_purchase_config_purchase" sequence="1"/>
21
22         <menuitem 
23             id="menu_product_in_config_purchase" name="Products"
24             parent="purchase.menu_purhase_config_purchase" sequence="3"/>
25           
26         <menuitem
27             action="product.product_category_action_form" id="menu_product_category_config_purchase"
28             parent="purchase.menu_product_in_config_purchase" sequence="0"/>
29           
30         <menuitem 
31             id="menu_purchase_unit_meauser_purchase" name="Units of Measure"
32             parent="purchase.menu_product_in_config_purchase"  sequence="1"/>
33             
34         <menuitem
35              action="product.product_uom_categ_form_action" id="menu_purchase_uom_categ_form_action"
36              parent="purchase.menu_purchase_unit_meauser_purchase" sequence="0"/>
37              
38         <menuitem
39               action="product.product_uom_form_action" id="menu_purchase_uom_form_action"
40               parent="purchase.menu_purchase_unit_meauser_purchase" sequence="1"/>
41
42
43         <!--supplier addresses action-->
44         <record id="action_supplier_address_form" model="ir.actions.act_window">
45             <field name="name">Addresses</field>
46             <field name="type">ir.actions.act_window</field>
47             <field name="res_model">res.partner.address</field>
48             <field name="view_type">form</field>
49             <field name="context">{"search_default_supplier":1}</field>
50             <field name="search_view_id" ref="base.view_res_partner_address_filter"/>
51             <field name="help">Access your supplier records and maintain your relationship with them. You can track all your interactions with them through the history tab: emails, orders, meeting, etc.</field>
52         </record>
53         <record id="action_supplier_address_form_view1" model="ir.actions.act_window.view">
54             <field eval="10" name="sequence"/>
55             <field name="view_mode">tree</field>
56             <field name="view_id" ref="base.view_partner_address_tree"/>
57             <field name="act_window_id" ref="action_supplier_address_form"/>
58         </record>
59         <record id="action_supplier_address_form_view2" model="ir.actions.act_window.view">
60             <field eval="20" name="sequence"/>
61             <field name="view_mode">form</field>
62             <field name="view_id" ref="base.view_partner_address_form1"/>
63             <field name="act_window_id" ref="action_supplier_address_form"/>
64         </record>
65
66      <!--supplier menu-->
67       <menuitem id="base.menu_procurement_management_supplier" name="Address Book"
68             parent="base.menu_purchase_root" sequence="3"/>
69       <menuitem id="base.menu_procurement_management_supplier_name" name="Suppliers"
70             parent="base.menu_procurement_management_supplier"
71             action="base.action_partner_supplier_form" sequence="1"/>
72
73           <!--Inventory control-->
74       <menuitem id="menu_procurement_management_inventory" name="Receive Products"
75             parent="base.menu_purchase_root" sequence="4"/>
76       <menuitem action="stock.action_picking_tree4" id="menu_action_picking_tree4" parent="menu_procurement_management_inventory"
77             name="Incoming Shipments" sequence="9"
78             groups="base.group_extended"/>
79       <menuitem action="stock.action_reception_picking_move" id="menu_action_picking_tree_in_move"
80             parent="menu_procurement_management_inventory" sequence="11"/>
81
82      <!--Invoice control-->
83      <menuitem id="menu_procurement_management_invoice" name="Invoice Control"
84           parent="base.menu_purchase_root" sequence="6"/>
85
86     <record id="action_invoice_pending" model="ir.actions.act_window">
87         <field name="res_model">account.invoice</field>
88         <field name="view_type">form</field>
89         <field name="view_mode">tree,form,calendar,graph</field>
90         <field eval="False" name="view_id"/>
91         <field name="domain">[('type','=','in_invoice')]</field>
92         <field name="context">{'type':'in_invoice', 'journal_type': 'purchase', 'search_default_draft': 1}</field>
93         <field name="search_view_id" ref="account.view_account_invoice_filter"/>
94             <field name="help">Use this menu to control the invoices to be received by your supplier. OpenERP pre-generates draft of invoices based on your purchase orders or your receptions. Once you receive a supplier invoice, you can control it according to the draft of invoice and validate it.</field>
95     </record>
96
97      <menuitem name="Supplier Invoices to Receive"
98           id="menu_procurement_management_pending_invoice"
99           action="action_invoice_pending"
100           parent="menu_procurement_management_invoice"
101           sequence="13"/>
102
103       <!--product menu-->
104       <menuitem id="menu_procurement_management_product" name="Products"
105           parent="base.menu_purchase_root" sequence="8"/>
106           
107       <menuitem name="Products by Category" id="menu_product_by_category_purchase_form" action="product.product_category_action"
108            parent="menu_procurement_management_product" sequence="0"/>     
109           
110       <menuitem name="Products" id="menu_procurement_partner_contact_form" action="product.product_normal_action_puchased"
111           parent="menu_procurement_management_product" sequence="1"/>
112
113        <record model="ir.ui.view" id="purchase_order_calendar">
114             <field name="name">purchase.order.calendar</field>
115             <field name="model">purchase.order</field>
116             <field name="type">calendar</field>
117             <field name="priority" eval="2"/>
118             <field name="arch" type="xml">
119                 <calendar string="Calendar View" date_start="minimum_planned_date" color="partner_id">
120                     <field name="name"/>
121                     <field name="amount_total"/>
122                     <field name="partner_id"/>
123                 </calendar>
124             </field>
125         </record>
126         <record model="ir.ui.view" id="view_purchase_order_graph">
127             <field name="name">purchase.order.graph</field>
128             <field name="model">purchase.order</field>
129             <field name="type">graph</field>
130             <field name="arch" type="xml">
131                 <graph string="Purchase Order" type="bar">
132                     <field name="partner_id"/>
133                     <field name="amount_total" operator="+"/>
134                 </graph>
135             </field>
136         </record>
137
138         <record id="purchase_order_form" model="ir.ui.view">
139             <field name="name">purchase.order.form</field>
140             <field name="model">purchase.order</field>
141             <field name="type">form</field>
142             <field name="arch" type="xml">
143                 <form string="Purchase Order">
144                     <group col="6" colspan="4">
145                         <field name="name"/>
146                         <field name="date_order"/>
147                         <field name="invoiced"/>
148                         <newline/>
149                         <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection"/>
150                         <field name="partner_ref"/>
151                         <field name="shipped"/>
152                         <field name="company_id" groups="base.group_multi_company" widget="selection"/>
153                     </group>
154                     <notebook colspan="4">
155                         <page string="Purchase Order">
156                             <field name="partner_id" on_change="onchange_partner_id(partner_id)" context="{'search_default_supplier':1}" />
157                             <field name="partner_address_id"/>
158                             <field domain="[('type','=','purchase')]" name="pricelist_id" groups="base.group_extended"/>
159                             <field name="origin" groups="base.group_extended"/>
160                             <newline/>
161                             <field colspan="4" name="order_line" nolabel="1" mode="tree,form">
162                                 <tree string="Purchase Order Lines">
163                                     <field name="date_planned"/>
164                                     <field name="name"/>
165                                     <field name="product_qty"/>
166                                     <field name="product_uom"/>
167                                     <field name="price_unit"/>
168                                     <field name="price_subtotal"/>
169                                 </tree>
170                                 <!-- default form view -->
171                             </field>
172                             <group col="7" colspan="4">
173                                 <field name="amount_untaxed" sum="Untaxed amount"/>
174                                 <field name="amount_tax"/>
175                                 <field name="amount_total" sum="Total amount"/>
176                                 <button name="button_dummy" states="draft" string="Compute" type="object" icon="gtk-execute"/>
177                             </group>
178                             <group col="11" colspan="4">
179                                 <field name="state" readonly="1"/>
180                                 <button name="purchase_cancel" states="draft,confirmed,wait_auth" string="Cancel" icon="gtk-cancel"/>
181                                 <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/>
182                                 <button name="action_cancel" states="approved,except_picking,except_invoice" string="Cancel Purchase Order" type="object" icon="gtk-cancel"/>
183                                 <button name="picking_ok" states="except_picking" string="Manually Corrected" icon="gtk-convert"/>
184                                 <button name="invoice_ok" states="except_invoice" string="Manually Corrected" icon="gtk-convert"/>
185                                 <button name="purchase_confirm" states="draft" string="Convert to Purchase Order" icon="gtk-go-forward"/>
186                                 <button name="purchase_appbuyer" states="wait_auth" string="Approve Purchase" icon="gtk-ok"/>
187                                 <button name="purchase_approve" states="confirmed" string="Approved by Supplier" icon="gtk-go-forward"/>
188                                 <button name="%(report_purchase_order)d" string="Print" states="approved" type="action" icon="gtk-print"/>
189                             </group>
190                         </page>
191                         <page string="Delivery &amp; Invoicing" groups="base.group_extended">
192                             <group colspan="2" col="2">
193                                 <separator string="Delivery" colspan="2"/>
194                                 <field name="dest_address_id" on_change="onchange_dest_address_id(dest_address_id)"/>
195                                 <field name="minimum_planned_date"/>
196                                 <field name="location_id"/>
197                             </group>
198                             <group colspan="2" col="2">
199                                 <separator string="Invoice Control" colspan="2"/>
200                                 <field name="invoice_method"/>
201                                 <field name="invoice_id" readonly="1" groups="base.group_extended" />
202                                 <field name="fiscal_position" widget="selection"/>
203                             </group>
204                             <newline/>
205                             <separator string="Purchase Control" colspan="4"/>
206                             <field name="validator"/>
207                             <field name="date_approve"/>
208                         </page>
209                         <page string="Notes">
210                             <field colspan="4" name="notes" nolabel="1"/>
211                         </page>
212                     </notebook>
213                 </form>
214             </field>
215         </record>
216
217        <record id="view_purchase_order_filter" model="ir.ui.view">
218             <field name="name">purchase.order.list.select</field>
219             <field name="model">purchase.order</field>
220             <field name="type">search</field>
221             <field name="arch" type="xml">
222                 <search string="Search Purchase Order">
223                  <group col='10' colspan='4'>
224                     <filter icon="terp-document-new" name="draft" string="Quotations" domain="[('state','=','draft')]" separator="1" help="Purchase order which are in draft state"/>
225                     <filter icon="terp-camera_test" name="confirmed" string="To Approve" domain="[('state','in',('wait','confirmed'))]" separator="1" help="Purchase order to be approved"/>
226                     <filter icon="terp-check" name="approved" string="Approved" domain="[('state','in',('approved','done'))]" separator="1" help="Approved purchase order"/>
227                     <separator orientation="vertical"/>
228                     <filter icon="terp-emblem-important" name="exception" string="Exception" domain="[('state','in',('except_invoice','except_picking'))]" separator="1" help="Purchase order which are in the exception state"/>
229                     <separator orientation="vertical"/>
230                     <filter icon="terp-gtk-go-back-rtl" string="No Invoice" domain="[('invoice_id','=',False)]" separator="1" help="Purchase order with No Invoice" groups="base.group_extended"/>
231                     <separator orientation="vertical"/>
232                     <field name="name" select="1" string="Reference"/>
233                     <field name="partner_id" select="1"/>
234                     <field name="product_id" select="1"/>
235                     <field name="create_uid" select="1"/>
236                 </group>
237                 <newline/>
238                   <group expand="0" string="Group By..." colspan="4" col="10" groups="base.group_extended">
239                     <filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
240                      <separator orientation="vertical"/>
241                     <filter string="Origin" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
242                     <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
243                      <separator orientation="vertical"/>
244                     <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
245                     <filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'minimum_planned_date'}"/>
246
247                 </group>
248               </search>
249             </field>
250         </record>
251         <record id="purchase_order_tree" model="ir.ui.view">
252             <field name="name">purchase.order.tree</field>
253             <field name="model">purchase.order</field>
254             <field name="type">tree</field>
255             <field name="arch" type="xml">
256                 <tree colors="grey:state=='cancel';blue:state in ('wait','confirmed');red:state in ('except_invoice','except_picking')" string="Purchase Order">
257                     <field name="name" string="Reference"/>
258                     <field name="date_order" string="Order Date"/>
259                     <field name="partner_id"/>
260                     <field name="company_id" groups="base.group_multi_company" widget="selection"/>
261                     <field name="location_id"/>
262                     <field name="minimum_planned_date"/>
263                     <field name="origin"/>
264                     <field name="invoiced_rate" widget="progressbar"/>
265                     <field name="shipped_rate" widget="progressbar"/>
266                     <field name="amount_untaxed" sum="Total Untaxed amount"/>
267                     <field name="amount_total" sum="Total amount"/>
268                     <field name="state"/>
269                 </tree>
270             </field>
271         </record>
272
273         <record id="purchase_rfq" model="ir.actions.act_window">
274             <field name="name">Requests for Quotation</field>
275             <field name="type">ir.actions.act_window</field>
276             <field name="res_model">purchase.order</field>
277             <field name="view_type">form</field>
278             <field name="context">{'search_default_draft': 1}</field>
279             <field name="view_mode">tree,form,graph,calendar</field>
280             <field name="search_view_id" ref="view_purchase_order_filter"/>
281             <field name="help">With the Requests for quotation menu you can create new request for quotations, review existing one and confirm them to order once the supplier offer is approved. When you confirm a RfQ, OpenERP will convert it to a Purchase Order and generate the next steps: draft reception of the products, invoice to control.</field>
282         </record>
283         <menuitem action="purchase_rfq" id="menu_purchase_rfq" parent="menu_procurement_management"
284                 sequence="6" groups="group_purchase_manager,group_purchase_user"/>
285
286         <record id="purchase_form_action" model="ir.actions.act_window">
287             <field name="name">Purchase Orders</field>
288             <field name="type">ir.actions.act_window</field>
289             <field name="res_model">purchase.order</field>
290             <field name="view_mode">tree,form,graph,calendar</field>
291             <field name="context">{'search_default_approved': 1,'search_default_create_uid':uid}</field>
292             <field name="search_view_id" ref="view_purchase_order_filter"/>
293             <field name="help">From the Purchase Orders menu, you can track the status of your orders: products received, invoice received and controlled.
294 </field>
295         </record>
296         <menuitem action="purchase_form_action" id="menu_purchase_form_action" parent="menu_procurement_management" />
297
298
299         <record id="purchase_order_line_form" model="ir.ui.view">
300             <field name="name">purchase.order.line.form</field>
301             <field name="model">purchase.order.line</field>
302             <field name="type">form</field>
303             <field name="arch" type="xml">
304                 <form string="Purchase Order Line">
305                     <notebook colspan="4">
306                         <page string="Order Line">
307                             <field colspan="4" context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,notes)"/>
308                             <field context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" name="product_qty" on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id,parent.date_order,parent.fiscal_position,date_planned,name,price_unit,notes)"/>
309                             <field name="product_uom" on_change="product_uom_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position)"/>
310                             <field colspan="4" name="name"/>
311                             <field name="date_planned" widget="date"/>
312                             <field name="price_unit"/>
313                             <field name="company_id" groups="base.group_multi_company" widget="selection"/>
314                             <field name="account_analytic_id" colspan="4" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]" />
315                             <group colspan="4" col="4" groups="base.group_extended">
316                                 <separator colspan="4" string="Taxes"/>
317                                 <field colspan="4" nolabel="1" name="taxes_id"
318                                     domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>
319                             </group>
320                         </page>
321                         <page string="Invoicing" groups="base.group_extended">
322                             <separator colspan="4" string="Manual Invoices"/>
323                             <field name="invoiced"/>
324                             <newline/>
325                             <field colspan="4" name="invoice_lines" nolabel="1" widget="many2many"/>
326                         </page>
327                            <page string="Notes">
328                             <field colspan="4" name="notes" nolabel="1"/>
329                         </page>
330                         <page string="History" groups="base.group_extended">
331                                <separator colspan="4" string="Stock Moves"/>
332                                <field colspan="4" name="move_ids" nolabel="1" widget="many2many"/>
333                         </page>
334                     </notebook>
335                 </form>
336             </field>
337         </record>
338
339         <record id="purchase_order_line_tree" model="ir.ui.view">
340             <field name="name">purchase.order.line.tree</field>
341             <field name="model">purchase.order.line</field>
342             <field name="type">tree</field>
343             <field name="arch" type="xml">
344                 <tree string="Purchase Order Lines">
345                     <field name="order_id"/>
346                     <field name="name"/>
347                     <field name="partner_id" string="Supplier" />
348                     <field name="product_id"/>
349                     <field name="price_unit"/>
350                     <field name="product_qty"/>
351                     <field name="product_uom"/>
352                     <field name="price_subtotal"/>
353                     <field name="date_planned"  widget="date" width="135"/>
354
355
356
357                     <field name="state" invisible="1"/>
358                     <field name="invoiced" invisible="1"/>
359                 </tree>
360             </field>
361         </record>
362         <record id="purchase_order_line_form2" model="ir.ui.view">
363             <field name="name">purchase.order.line.form2</field>
364             <field name="model">purchase.order.line</field>
365             <field name="type">form</field>
366             <field name="priority" eval="20"/>
367             <field name="arch" type="xml">
368                 <form string="Purchase Order Line">
369                     <notebook colspan="4">
370                         <page string="Order Line">
371                                <separator colspan="4" string="General Information"/>
372                              <field name="order_id"/>
373                             <field name="product_id" readonly="1" />
374                             <field name="product_qty" readonly="1" />
375                             <field name="product_uom" readonly="1"/>
376                             <field colspan="4" name="name"/>
377                             <field name="date_planned" widget="date"  readonly="1"/>
378                             <field name="price_unit"/>
379                             <field name="company_id" groups="base.group_multi_company" widget="selection"/>
380                             <field name="account_analytic_id" colspan="4" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
381                             <group colspan="4" col="4" groups="base.group_extended">
382                                 <separator colspan="4" string="Taxes"/>
383                                 <field colspan="4" nolabel="1" name="taxes_id"
384                                     domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>
385                             </group>
386                         </page>
387                         <page string="Invoicing" groups="base.group_extended">
388                             <separator colspan="4" string="Manual Invoices"/>
389                             <field name="invoiced"/>
390                             <newline/>
391                             <field colspan="4" name="invoice_lines" nolabel="1" widget="many2many"/>
392                         </page>
393                          <page string="Notes">
394                             <field colspan="4" name="notes" nolabel="1"/>
395                         </page>
396                         <page string="History" groups="base.group_extended">
397                                <separator colspan="4" string="Stock Moves"/>
398                                <field colspan="4" name="move_ids" nolabel="1" widget="many2many"/>
399                         </page>
400                     </notebook>
401                 </form>
402             </field>
403         </record>
404           <record id="purchase_order_line_search" model="ir.ui.view">
405             <field name="name">purchase.order.line.search</field>
406             <field name="model">purchase.order.line</field>
407             <field name="type">search</field>
408             <field name="arch" type="xml">
409                 <search string="Search Purchase Order">
410                         <group>
411                         <field name="order_id"/>
412                         <field name="product_id"/>
413                         <field name="partner_id"  string="Supplier"/>
414                         </group>
415                         <newline/>
416                         <group expand="0" string="Group By...">
417                         <filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by' : 'partner_id'}" />
418                         <separator orientation="vertical"/>
419                         <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by' : 'product_id'}" />
420                         <filter icon="terp-gtk-jump-to-rtl" string="Order Reference" domain="[]" context="{'group_by' :'order_id'}"/>
421                         <separator orientation="vertical"/>
422                         <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by' : 'state'}" />
423                         </group>
424                </search>
425             </field>
426         </record>
427
428         <act_window
429             context="{'search_default_partner_id': [active_id]}"
430             id="act_res_partner_2_purchase_order"
431             name="Purchase Orders"
432             res_model="purchase.order"
433             src_model="res.partner"/>
434
435         <act_window
436             context="{'search_default_product_id': [active_id]}"
437             id="action_purchase_line_product_tree"
438             name="Purchases"
439             res_model="purchase.order.line"
440             src_model="product.product"
441             groups="base.group_extended"/>
442
443
444         <record id="purchase_line_form_action2" model="ir.actions.act_window">
445             <field name="name">Purchase Lines Not Invoiced</field>
446             <field name="type">ir.actions.act_window</field>
447             <field name="res_model">purchase.order.line</field>
448             <field name="domain">[('state','in',('confirmed','done')), ('invoiced', '=', False)]</field>
449             <field name="view_type">form</field>
450             <field name="view_mode">tree,form</field>
451             <field name="search_view_id" ref="purchase_order_line_search"/>
452             <field name="help">If you set the invoicing control on a purchase order as "Manual", you can track here all the purchase order lines for which you did not received the supplier invoice yet. Once you are ready to receive a supplier invoice, you can generate a draft supplier invoice based on the lines from this menu.</field>
453         </record>
454         <record id="purchase_line_form_action_tree2" model="ir.actions.act_window.view">
455             <field eval="1" name="sequence"/>
456             <field name="view_mode">tree</field>
457             <field name="view_id" ref="purchase_order_line_tree"/>
458             <field name="act_window_id" ref="purchase_line_form_action2"/>
459         </record>
460         <record id="purchase_line_form_action_form2" model="ir.actions.act_window.view">
461             <field eval="2" name="sequence"/>
462             <field name="view_mode">form</field>
463             <field name="view_id" ref="purchase_order_line_form2"/>
464             <field name="act_window_id" ref="purchase_line_form_action2"/>
465         </record>
466         <menuitem
467             action="purchase_line_form_action2"
468             id="menu_purchase_line_order_draft"
469             groups="base.group_extended"
470             parent="menu_procurement_management_invoice"
471             sequence="72"/>
472
473         <!--
474             Procurements
475         -->
476
477         <record id="view_procurement_form_inherit" model="ir.ui.view">
478             <field name="name">procurement.order.form.inherit</field>
479             <field name="model">procurement.order</field>
480             <field name="inherit_id" ref="procurement.procurement_form_view"/>
481             <field name="type">form</field>
482             <field name="arch" type="xml">
483                 <xpath expr="/form/notebook/page/field[@name='close_move']" position="before">
484                     <field name="purchase_id"/>
485                 </xpath>
486             </field>
487         </record>
488
489     </data>
490 </openerp>