1 <?xml version="1.0" encoding="utf-8"?>
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="arch" type="xml">
8 <form string="Import Inventory" version="7.0">
9 <separator string="Import the current inventory"/>
11 <field name="location_id" groups="stock.group_locations"/>
12 <field name="recursive" groups="stock.group_locations"/>
13 <field name="set_stock_zero"/>
16 <button name="fill_inventory" string="Fill Inventory" type="object" class="oe_highlight"/>
18 <button string="Cancel" class="oe_link" special="cancel" />
24 <record id="action_view_stock_fill_inventory" model="ir.actions.act_window">
25 <field name="name">Fill Inventory</field>
26 <field name="type">ir.actions.act_window</field>
27 <field name="res_model">stock.fill.inventory</field>
28 <field name="view_type">form</field>
29 <field name="view_mode">form</field>
30 <field name="view_id" ref="view_stock_fill_inventory"/>
31 <field name="target">new</field>
32 <field name="context">{'search_default_in_location':1}</field>