[MERGE] stock : Merged Valencia's branch for prodlot warning. (Case:6001)
[odoo/odoo.git] / addons / stock / wizard / stock_fill_inventory_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4            <record id="view_stock_fill_inventory" model="ir.ui.view">
5             <field name="name">Import Inventory</field>
6             <field name="model">stock.fill.inventory</field>
7             <field name="type">form</field>
8             <field name="arch" type="xml">
9               <form string="Import Inventory">
10                      <separator string="Import current product inventory from the following location" colspan="4" />
11                     <field name="location_id"/>
12                     <newline/>
13                     <field name="recursive"/>
14                     <newline/>
15                     <field name="set_stock_zero"/>
16                     <separator string="" colspan="4" />
17                     <button special="cancel" string="_Cancel" icon='gtk-cancel'/>
18                     <button name="fill_inventory" string="Fill Inventory" type="object" icon="gtk-ok"/>
19              </form>
20             </field>
21         </record>
22
23          <act_window name="Import Inventory"            
24             res_model="stock.fill.inventory"
25             src_model="stock.inventory"
26             view_mode="form"
27             target="new"
28             context="{'search_default_in_location':1}" 
29             key2="client_action_multi"    
30             id="action_view_stock_fill_inventory"/>    
31
32     </data>
33 </openerp>