[MERGE]
[odoo/odoo.git] / addons / sale / sale_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4 <!--        <menuitem icon="terp-sale" id="menu_sale_root" name="Sales Management"-->
5 <!--            groups="group_sale_user"/>-->
6                 <menuitem id="base.menu_sales" name="Sales" parent="base.menu_base_partner" sequence="1"/>
7
8                 <menuitem id="base.menu_product" name="Products" parent="base.menu_base_partner" sequence="4"/>
9                 <menuitem action="product.product_normal_action" id="product.menu_products" parent="base.menu_product" sequence="1"/>
10
11         <record id="view_shop_form" model="ir.ui.view">
12             <field name="name">sale.shop</field>
13             <field name="model">sale.shop</field>
14             <field name="type">form</field>
15             <field name="arch" type="xml">
16                 <form string="Sale Shop">
17                     <field name="name" select="1"/>
18                     <field name="warehouse_id" required="1" select="1" widget="selection"/>
19                     <separator colspan="4" string="Accounting"/>
20                     <field name="payment_default_id"/>
21                     <field domain="[('type','=','sale')]" name="pricelist_id" select="1"/>
22                     <field name="project_id" select="1"/>
23                 </form>
24             </field>
25         </record>
26         <record id="view_shop_tree" model="ir.ui.view">
27             <field name="name">sale.shop</field>
28             <field name="model">sale.shop</field>
29             <field name="type">tree</field>
30             <field name="arch" type="xml">
31                 <tree string="Sale Shop">
32                     <field name="name"/>
33                     <field name="pricelist_id"/>
34                     <field name="project_id"/>
35                     <field name="warehouse_id"/>
36                 </tree>
37             </field>
38         </record>
39
40         <record id="action_shop_form" model="ir.actions.act_window">
41             <field name="name">Shop</field>
42             <field name="type">ir.actions.act_window</field>
43             <field name="res_model">sale.shop</field>
44             <field name="view_type">form</field>
45             <field name="view_mode">tree,form</field>
46             <field name="view_id" ref="view_shop_tree"/>
47         </record>
48         <menuitem action="action_shop_form" id="menu_action_shop_form" parent="base.menu_base_config" sequence="60"/>
49
50         <record id="view_sale_order_calendar" model="ir.ui.view">
51             <field name="name">sale.order.calendar</field>
52             <field name="model">sale.order</field>
53             <field name="type">calendar</field>
54             <field name="arch" type="xml">
55                 <calendar string="Sales orders" color="state" date_start="date_order">
56                     <field name="partner_id"/>
57                     <field name="amount_total"/>
58                 </calendar>
59             </field>
60         </record>
61         <record model="ir.ui.view" id="view_sale_order_graph">
62             <field name="name">sale.order.graph</field>
63             <field name="model">sale.order</field>
64             <field name="type">graph</field>
65             <field name="arch" type="xml">
66                 <graph string="Sales orders" type="bar">
67                     <field name="partner_id"/>
68                     <field name="amount_total" operator="+"/>
69                 </graph>
70             </field>
71         </record>
72
73         <record id="view_order_tree" model="ir.ui.view">
74             <field name="name">sale.order.tree</field>
75             <field name="model">sale.order</field>
76             <field name="type">tree</field>
77             <field name="arch" type="xml">
78                 <tree string="Sales orders">
79                     <field name="date_order"/>
80                     <field name="name" string="Reference"/>
81                     <field name="partner_id"/>
82                     <field name="partner_shipping_id"/>
83                     <field name="picked_rate" widget="progressbar"/>
84                     <field name="invoiced_rate" widget="progressbar"/>
85                     <field name="amount_untaxed"/>
86                     <field name="state"/>
87                 </tree>
88             </field>
89         </record>
90
91         <record id="view_order_form" model="ir.ui.view">
92             <field name="name">sale.order.form</field>
93             <field name="model">sale.order</field>
94             <field name="type">form</field>
95             <field name="arch" type="xml">
96                 <form string="Sales order">
97                     <group col="6" colspan="4">
98                         <field name="name" select="1"/>
99                         <field name="client_order_ref" select="2"/>
100                         <field name="shipped" select="2"/>
101                         <field name="shop_id" on_change="onchange_shop_id(shop_id)" select="2" widget="selection"/>
102                         <field name="date_order" select="1"/>
103                         <field name="invoiced" select="2"/>
104                     </group>
105                     <notebook colspan="4">
106                         <page string="Sale Order">
107                             <field name="partner_id" on_change="onchange_partner_id(partner_id)" required="1" select="1"/>
108                             <field domain="[('partner_id','=',partner_id)]" name="partner_order_id"/>
109                             <field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id"/>
110                             <field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id"/>
111                             <field domain="[('type','=','sale')]" name="pricelist_id"/>
112                             <field name="project_id" select="2" context="{'partner_id':partner_id, 'contact_id':partner_order_id, 'pricelist_id':pricelist_id, 'default_name':name}"/>
113                             <newline/>
114                             <field colspan="4" mode="tree,form,graph" name="order_line" nolabel="1" widget="one2many_list">
115                                 <form string="Sale Order Lines">
116                                     <notebook>
117                                         <page string="Order Line">
118                                             <separator colspan="4" string="Automatic Declaration"/>
119                                             <field colspan="4"
120                                                 context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom"
121                                                 name="product_id"
122                                                 on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], True, parent.date_order, product_packaging, parent.fiscal_position)"
123                                                 select="1"/>
124                                             <field
125                                                 context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom"
126                                                 name="product_uom_qty"
127                                                 on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order, product_packaging, parent.fiscal_position, True)"
128                                                 select="1"/>
129                                             <field name="product_uom"
130                                                 on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order)"/>
131                                             <field
132                                                 name="product_packaging"
133                                                 context="partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom"
134                                                 on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, 'lang' in context and context['lang'], False, parent.date_order, product_packaging, parent.fiscal_position)"
135                                                 domain="[('product_id','=',product_id)]"
136                                                 groups="base.group_extended"/>
137
138                                             <field name="company_id" groups="base.group_multi_company" widget="selection"/>
139                                             <separator colspan="4" string="Manual Description"/>
140                                             <field colspan="4" name="name" select="2"/>
141                                             <field name="price_unit" select="2"/>
142                                             <field name="discount"/>
143                                             <field name="type"/>
144                                             <field name="delay" select="2"/>
145                                             <newline/>
146                                             <field colspan="4" name="tax_id" domain="[('parent_id','=',False),('type_tax_use','&lt;&gt;','purchase')]"/>
147                                             <separator colspan="4" string="States"/>
148                                             <field name="state" select="2"/>
149                                             <group col="3" colspan="2">
150                                                 <field name="invoiced" select="2"/>
151                                                 <button colspan="1" name="%(wizard_sale_order_line_invoice)d" states="confirmed" string="Make Invoice" type="action" icon="gtk-print"/>
152                                             </group>
153                                         </page>
154                                         <page groups="base.group_extended" string="Extra Info">
155                                             <field groups="product.group_uos" name="product_uos_qty" on_change="uos_change(product_uos, product_uos_qty, product_id)"/>
156                                             <field groups="product.group_uos" name="product_uos"/>
157                                             <field name="th_weight"/>
158                                             <field name="address_allotment_id" select="2"/>
159                                             <separator colspan="4" string="Properties"/>
160                                             <field colspan="4" name="property_ids" nolabel="1"/>
161                                         </page>
162                                         <page string="Notes">
163                                             <field colspan="4" name="notes" nolabel="1"/>
164                                         </page>
165                                         <page string="History" groups="base.group_extended">
166                                             <separator colspan="4" string="Invoice Lines"/>
167                                             <field colspan="4" name="invoice_lines" nolabel="1"/>
168                                             <separator colspan="4" string="Stock Moves"/>
169                                             <field colspan="4" name="move_ids" nolabel="1" widget="many2many"/>
170                                         </page>
171                                     </notebook>
172                                 </form>
173                                 <tree string="Sales order lines">
174                                     <field colspan="4" name="name"/>
175                                     <field name="product_uom_qty" string="Qty"/>
176                                     <field name="product_uom" string="UoM"/>
177                                     <field name="discount"/>
178                                     <field name="price_unit"/>
179                                     <field name="price_net"/>
180                                     <field name="price_subtotal"/>
181                                 </tree>
182                             </field>
183                             <newline/>
184                             <group col="7" colspan="4">
185                                 <field name="amount_untaxed" sum="Untaxed amount"/>
186                                 <field name="amount_tax"/>
187                                 <field name="amount_total" sum="Total amount"/>
188                                 <button name="button_dummy" states="draft" string="Compute" type="object" icon="gtk-execute"/>
189                             </group>
190                             <group col="13" colspan="4">
191                                 <field name="state" select="2"/>
192                                 <button name="order_confirm" states="draft" string="Confirm Order" icon="gtk-apply"/>
193                                 <button name="invoice_recreate" states="invoice_except" string="Recreate Invoice" icon="gtk-print"/>
194                                 <button name="invoice_corrected" states="invoice_except" string="Invoice Corrected" icon="gtk-apply"/>
195                                 <button name="ship_recreate" states="shipping_except" string="Recreate Requisition" icon="gtk-ok"/>
196                                 <button name="ship_corrected" states="shipping_except" string="Requisition Corrected" icon="gtk-apply"/>
197                                 <button name="manual_invoice" states="manual" string="Create Invoice" icon="gtk-print"/>
198                                 <button name="ship_cancel" states="shipping_except" string="Cancel Order" icon="gtk-cancel"/>
199                                 <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" icon="gtk-convert"/>
200                                 <button name="action_cancel" states="manual,progress" string="Cancel Order" type="object" icon="gtk-cancel"/>
201                                 <button name="cancel" states="draft" string="Cancel Order" icon="gtk-cancel"/>
202                                 <button name="invoice_cancel" states="invoice_except" string="Cancel Order" icon="gtk-cancel"/>
203                             </group>
204                         </page>
205                         <page string="Other data">
206                             <field groups="base.group_extended" name="incoterm"/>
207                             <field groups="base.group_extended" name="picking_policy" required="True"/>
208                             <field name="user_id"/>
209                             <field name="order_policy" on_change="shipping_policy_change(order_policy)"/>
210                             <field groups="base.group_extended" name="origin"/>
211                             <field groups="base.group_extended" name="invoice_quantity" attrs="{'readonly':[('order_policy','=','prepaid'),('order_policy','=','picking')]}"/>
212                             <field name="payment_term" widget="selection"/>
213                             <field name="fiscal_position" groups="base.group_extended" widget="selection"/>
214                             <field name="company_id" groups="base.group_multi_company" widget="selection"/>
215                             <separator colspan="4" string="Notes"/>
216                             <field colspan="4" name="note" nolabel="1"/>
217                         </page>
218                         <page string="History">
219                             <separator colspan="4" string="Related invoices"/>
220                             <field colspan="4" name="invoice_ids" nolabel="1"/>
221                             <field colspan="4" name="picking_ids" nolabel="1"/>
222                         </page>
223                     </notebook>
224                 </form>
225             </field>
226         </record>
227
228         <record id="view_sales_order_filter" model="ir.ui.view">
229             <field name="name">sale.order.list.select</field>
230             <field name="model">sale.order</field>
231             <field name="type">search</field>
232             <field name="arch" type="xml">
233                 <search string="Search Sales Order">
234                     <group col='8' colspan='4'>
235                         <filter icon="terp-sale" string="Quotation" domain="[('state','=','draft')]"/>
236                         <filter icon="terp-sale" string="Running" domain="[('state','in',('manual','progress'))]"/>
237                         <separator orientation="vertical"/>
238                         <field name="name" select="1"/>
239                         <field name="partner_id" select="1"/>
240                         <field name="user_id" select="1" widget="selection">
241                             <filter icon="terp-sale" domain="[('user_id','=',uid)]" help="My Sale Orders"/>
242                             <filter icon="terp-sale" domain="[('user_id','child_of',[uid])]" help="My Departments Sale Orders"/>
243                         </field>
244                         <field name="date_order" select="1"/>
245                                         </group>
246                                         <group expand="context.get('report',False)" string="Group By..." colspan="4" col="8">
247                                                 <filter string="By Parnter" icon="terp-sale" domain="[]" context="{'group_by':'partner_id'}"/>
248                         <filter string="By State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>
249                         <filter string="By Order Date" icon="terp-sale" domain="[]" context="{'group_by':'date_order'}"/>
250                                         </group>                        
251                </search>
252             </field>
253         </record>
254
255         <record id="action_order_form" model="ir.actions.act_window">
256             <field name="name">Sales Orders</field>
257             <field name="type">ir.actions.act_window</field>
258             <field name="res_model">sale.order</field>
259             <field name="view_type">form</field>
260             <field name="view_mode">tree,form,calendar,graph</field>
261             <field name="search_view_id" ref="view_sales_order_filter"/>
262         </record>
263         <menuitem action="action_order_form" id="menu_sale_order" parent="base.menu_sales" sequence="3"/>
264
265         <record id="action_order_tree2" model="ir.actions.act_window">
266             <field name="name">Sales in Exception</field>
267             <field name="type">ir.actions.act_window</field>
268             <field name="res_model">sale.order</field>
269             <field name="view_type">form</field>
270             <field name="view_mode">tree,form,calendar,graph</field>
271             <field name="domain">[('state','in',('shipping_except','invoice_except'))]</field>
272             <field name="filter" eval="True"/>
273             <field name="search_view_id" ref="view_sales_order_filter"/>
274         </record>
275
276         <record id="action_order_tree3" model="ir.actions.act_window">
277             <field name="name">Sales To Invoice</field>
278             <field name="type">ir.actions.act_window</field>
279             <field name="res_model">sale.order</field>
280             <field name="view_type">form</field>
281             <field name="view_mode">tree,form,calendar,graph</field>
282             <field name="domain">[('state','=','manual')]</field>
283             <field name="filter" eval="True"/>
284             <field name="search_view_id" ref="view_sales_order_filter"/>
285         </record>
286
287         <record id="action_order_tree4" model="ir.actions.act_window">
288             <field name="name">Sales Order in Progress</field>
289             <field name="type">ir.actions.act_window</field>
290             <field name="res_model">sale.order</field>
291             <field name="view_type">form</field>
292             <field name="view_mode">tree,form,calendar,graph</field>
293             <field name="domain">[('state','in',('progress','waiting_date','manual'))]</field>
294             <field name="search_view_id" ref="view_sales_order_filter"/>
295         </record>
296
297
298         <record id="action_order_tree5" model="ir.actions.act_window">
299             <field name="name">All Quotations</field>
300             <field name="type">ir.actions.act_window</field>
301             <field name="res_model">sale.order</field>
302             <field name="view_type">form</field>
303             <field name="view_mode">tree,form,calendar,graph</field>
304             <field name="domain">[('state','=','draft')]</field>
305             <field name="search_view_id" ref="view_sales_order_filter"/>
306         </record>
307
308                 <record id="action_order_tree" model="ir.actions.act_window">
309             <field name="name">Old Quotations</field>
310             <field name="type">ir.actions.act_window</field>
311             <field name="res_model">sale.order</field>
312             <field name="view_type">form</field>
313             <field name="view_mode">tree,form,calendar,graph</field>
314             <field name="domain">[('state','=','draft'),('date_order','&lt;',time.strftime('%Y-%m-%d %H:%M:%S'))]</field>
315             <field name="filter" eval="True"/>
316             <field name="search_view_id" ref="view_sales_order_filter"/>
317         </record>
318
319         <record id="view_order_line_graph" model="ir.ui.view">
320             <field name="name">sale.order.line.graph</field>
321             <field name="model">sale.order.line</field>
322             <field name="type">graph</field>
323             <field name="arch" type="xml">
324                 <graph string="Sales order lines">
325                     <field name="product_id"/>
326                     <field name="price_subtotal" operator="+"/>
327                 </graph>
328             </field>
329         </record>
330
331         <record id="view_order_line_tree" model="ir.ui.view">
332             <field name="name">sale.order.line.tree</field>
333             <field name="model">sale.order.line</field>
334             <field name="type">tree</field>
335             <field name="arch" type="xml">
336                 <tree string="Sales order lines">
337                     <field name="order_id"/>
338                     <field name="order_partner_id"/>
339                     <field name="name"/>
340                     <field name="product_id"/>
341                     <field name="product_uom_qty" string="Qty"/>
342                     <field name="product_uom" string="UoM"/>
343                     <field name="discount"/>
344                     <field name="price_unit"/>
345                     <field name="price_net"/>
346                     <field name="price_subtotal"/>
347                     <field name="th_weight"/>
348                     <field name="state"/>
349                 </tree>
350             </field>
351         </record>
352         <record id="view_order_line_form2" model="ir.ui.view">
353             <field name="name">sale.order.line.form2</field>
354             <field name="model">sale.order.line</field>
355             <field name="type">form</field>
356             <field name="arch" type="xml">
357                 <form string="Sales Order Lines">
358                     <notebook>
359                         <page string="Order Lines">
360                             <separator colspan="4" string="Automatic Declaration"/>
361                             <field name="order_id" select="1"/>
362                             <field name="order_partner_id" readonly="1" select="1" invisible="1"/>
363                             <field name="product_uom_qty" readonly="1" select="2"/>
364                             <field name="product_uom"/>
365                             <field name="product_id" readonly="1" select="1"/>
366                             <field name="invoiced" select="2"/>
367                             <field name="company_id" groups="base.group_multi_company" widget="selection"/>
368                             <separator colspan="4" string="Manual Designation"/>
369                             <field colspan="4" name="name" select="2"/>
370                             <field name="price_unit" select="2"/>
371                             <field name="discount"/>
372                             <field name="type"/>
373                             <field name="delay" select="2"/>
374                             <field name="price_subtotal"/>
375                             <field name="th_weight"/>
376                             <field colspan="4" name="tax_id" domain="[('parent_id','=',False),('type_tax_use','&lt;&gt;','purchase')]"/>
377                             <separator colspan="4" string="States"/>
378                             <field name="state" select="2"/>
379                             <group col="2" colspan="2">
380                                 <button name="button_done" states="confirmed,exception" string="Done" type="object" icon="gtk-no"/>
381                                 <button name="button_cancel" states="confirmed,exception" string="Cancel" type="object" icon="gtk-cancel" />
382                             </group>
383                         </page>
384                         <page string="Properties">
385                             <field name="property_ids" nolabel="1"/>
386                         </page>
387                         <page string="Notes">
388                             <field colspan="4" name="notes" nolabel="1"/>
389                         </page>
390                         <page string="Invoice Lines">
391                             <field colspan="4" name="invoice_lines" nolabel="1"/>
392                         </page>
393                     </notebook>
394                 </form>
395             </field>
396         </record>
397
398         <record id="view_sales_order_line_filter" model="ir.ui.view">
399             <field name="name">sale.order.line.select</field>
400             <field name="model">sale.order.line</field>
401             <field name="type">search</field>
402             <field name="arch" type="xml">
403                 <search string="Search Sales Order">
404                     <group col='8' colspan='4'>
405                         <filter icon="terp-purchase" string="To Invoice" domain="[('invoiced','&lt;&gt;', 1),('state','=','done')]" separator="1"/>
406                         <separator orientation="vertical"/>
407                         <field name="order_id" select="1"/>
408                         <field name="order_partner_id" select="1"/>
409                         <field name="product_id" select="1"/>
410                         <field name="salesman_id" select="1" widget="selection">
411                             <filter icon="terp-sale" domain="[('salesman_id','=',uid)]" help="My Sale Order Lines"/>
412                             <filter icon="terp-sale" domain="[('salesman_id','child_of',[uid])]" help="My Departments Sale Order Lines"/>
413                         </field>
414                                         <group expand="context.get('report',False)" string="Group By..." colspan="4" col="8">
415                                                 <filter string="By Product" icon="terp-sale" domain="[]" context="{'group_by':'product_id'}"/>
416                         <filter string="By Order" icon="terp-sale" domain="[]" context="{'group_by':'order_id'}"/>
417                         <filter string="By State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>
418                                         </group>                        
419                         
420                     </group>
421                 </search>
422             </field>
423         </record>
424
425         <record id="action_order_line_tree2" model="ir.actions.act_window">
426             <field name="name">Uninvoiced Lines</field>
427             <field name="type">ir.actions.act_window</field>
428             <field name="res_model">sale.order.line</field>
429             <field name="view_type">form</field>
430             <field name="view_mode">tree,form,graph</field>
431             <field name="domain">[('invoiced','&lt;&gt;', 1),('state','&lt;&gt;','draft'),('state','&lt;&gt;','cancel')]</field>
432             <field name="filter" eval="True"/>
433         </record>
434
435         <record id="action_order_line_tree3" model="ir.actions.act_window">
436             <field name="name">Uninvoiced and Delivered Lines</field>
437             <field name="type">ir.actions.act_window</field>
438             <field name="res_model">sale.order.line</field>
439             <field name="view_type">form</field>
440             <field name="view_mode">tree,form,graph</field>
441             <field name="domain">[('invoiced','&lt;&gt;', 1),('state','=','done')]</field>
442             <field name="filter" eval="True"/>
443         </record>
444
445         <act_window context="{'partner_id': active_id}" domain="[('partner_id', '=', active_id)]" id="act_res_partner_2_sale_order" name="Sales" res_model="sale.order" src_model="res.partner"/>
446
447         <act_window domain="[('product_id','=',active_id)]" id="action_order_line_product_tree" name="Product sales" res_model="sale.order.line" src_model="product.product"/>
448
449                 <menuitem id="menu_invoiced" name="Invoicing" parent="base.menu_base_partner" sequence="6"/>
450                 <menuitem action="action_order_tree3" id="menu_invoicing_sales_order" parent="menu_invoiced" sequence="1"/>
451                 <menuitem action="action_order_line_tree2" id="menu_invoicing_sales_order_lines" parent="menu_invoiced" sequence="2"/>
452         <!-- configartion view -->
453
454         <record id="view_config_picking_policy" model="ir.ui.view">
455             <field name="name">Configure Picking Policy for Sale Order </field>
456             <field name="model">sale.config.picking_policy</field>
457             <field name="type">form</field>
458             <field name="inherit_id" ref="base.res_config_view_base"/>
459             <field name="arch" type="xml">
460               <data>
461                 <form position="attributes">
462                   <attribute name="string">Sales Configuration</attribute>
463                 </form>
464                 <group string="res_config_contents" position="replace">
465                   <label colspan="4" align="0.0"
466                          string="Set the policies selected by default when creating a new sale order."/>
467                   <separator colspan="4"
468                        string="Configure Sale Order Logistic"/>
469                   <newline/>
470                   <field name="picking_policy"/>
471                   <newline/>
472                   <field name="order_policy"/>
473                   <newline/>
474                   <field name="step"/>
475                 </group>
476                 <xpath expr='//button[@name="action_skip"]' position='replace'/>
477               </data>
478             </field>
479         </record>
480
481         <record id="action_config_picking_policy" model="ir.actions.act_window">
482             <field name="name">Configure Picking Policy for Sale Order</field>
483             <field name="type">ir.actions.act_window</field>
484             <field name="res_model">sale.config.picking_policy</field>
485             <field name="view_id" ref="view_config_picking_policy"/>
486             <field name="view_type">form</field>
487             <field name="view_mode">form</field>
488             <field name="target">new</field>
489         </record>
490
491         <!-- register configuration wizard -->
492         <record id="config_wizard_step_sale_picking_policy" model="ir.actions.todo">
493             <field name="action_id" ref="action_config_picking_policy"/>
494         </record>
495
496     </data>
497 </openerp>