<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
   		<record id="view_stock_fill_inventory" model="ir.ui.view">
            <field name="name">Import Inventory</field>
            <field name="model">stock.fill.inventory</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
              <form string="Import Inventory">
             		<separator string="Import current product inventory from the following location" colspan="4" />
                	<field name="location_id"/>
                	<newline/>
                	<field name="recursive"/>
    				<newline/>
        	        <separator string="" colspan="4" />
					<button special="cancel" string="Cancel" icon='gtk-cancel'/>
            	    <button name="fill_inventory" string="Fill Inventory" type="object" icon="gtk-ok"/>
             </form>
            </field>
		</record>

         <act_window name="Import Inventory"		    
		    res_model="stock.fill.inventory"
		    src_model="stock.inventory"
		    view_mode="form"
		    target="new"        
            key2="client_action_multi"    
		    id="action_view_stock_fill_inventory"/>	

    </data>
</openerp>

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
   		<record id="view_stock_fill_inventory" model="ir.ui.view">
            <field name="name">Import Inventory</field>
            <field name="model">stock.fill.inventory</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
              <form string="Import Inventory">
             		<separator string="Import current product inventory from the following location" colspan="4" />
                	<field name="location_id"/>
                	<newline/>
                	<field name="recursive"/>
    				<newline/>
        	        <separator string="" colspan="4" />
					<button special="cancel" string="Cancel" icon='gtk-cancel'/>
            	    <button name="fill_inventory" string="Fill Inventory" type="object" icon="gtk-ok"/>
             </form>
            </field>
		</record>

         <act_window name="Import Inventory"		    
		    res_model="stock.fill.inventory"
		    src_model="stock.inventory"
		    view_mode="form"
		    target="new"        
		    context="{'search_default_in_location':1}" 
            key2="client_action_multi"    
		    id="action_view_stock_fill_inventory"/>	

    </data>
</openerp>

Add search_default_in_location in fill inventory wizard
[IMP] stock: Add search_default_in_location in fill inventory wizard

bzr revid: sbh@tinyerp.com-20100909054004-o3h0vhmxmydmmw4r