<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
    <record id="stock_inventory_1_demo" model="stock.inventory">
        <field name="name">Funky Socks Demo Inventory</field>
    </record>
    <record id="stock_inventory_1_line_1_demo" model="stock.inventory.line">
        <field name="product_id" ref="product_funky_socks" />
        <field name="product_uom_id" ref="uom.product_uom_unit" />
        <field name="inventory_id" ref="stock_inventory_1_demo" />
        <field name="product_qty">200.0</field>
        <field name="location_id" ref="stock_location_zone_a_bin_1_demo" />
    </record>
    <record id="stock_inventory_1_line_2_demo" model="stock.inventory.line">
        <field name="product_id" ref="product_funky_socks" />
        <field name="product_uom_id" ref="uom.product_uom_unit" />
        <field name="inventory_id" ref="stock_inventory_1_demo" />
        <field name="product_qty">100.0</field>
        <field name="location_id" ref="stock_location_zone_b_bin_1_demo" />
    </record>
    <record id="stock_inventory_1_line_3_demo" model="stock.inventory.line">
        <field name="product_id" ref="product_funky_socks" />
        <field name="product_uom_id" ref="uom.product_uom_unit" />
        <field name="inventory_id" ref="stock_inventory_1_demo" />
        <field name="product_qty">100.0</field>
        <field name="location_id" ref="stock_location_zone_c_bin_1_demo" />
    </record>
    <function model="stock.inventory" name="_action_start">
        <function
            eval="[[('state','=','draft'),('id', '=', ref('stock_reserve_rule.stock_inventory_1_demo'))]]"
            model="stock.inventory"
            name="search"
        />
    </function>
    <function model="stock.inventory" name="action_validate">
        <function
            eval="[[('state','=','confirm'),('id', '=', ref('stock_reserve_rule.stock_inventory_1_demo'))]]"
            model="stock.inventory"
            name="search"
        />
    </function>
</odoo>
