<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
    <record id="stock_picking_out_1_demo" model="stock.picking">
        <field name="picking_type_id" ref="stock.picking_type_out" />
        <field name="origin">Outgoing shipment (reservation rules demo 1)</field>
        <field name="partner_id" ref="base.res_partner_1" />
        <field name="date" eval="DateTime.today()" />
        <field name="location_id" ref="stock.stock_location_stock" />
        <field name="location_dest_id" ref="stock.stock_location_customers" />
        <field
            name="move_lines"
            model="stock.move"
            eval="[(0, 0, {
                     'name': obj().env.ref('stock_reserve_rule.product_funky_socks').name,
                     'product_id': ref('stock_reserve_rule.product_funky_socks'),
                     'product_uom': ref('uom.product_uom_unit'),
                     'product_uom_qty': 150.0,
                     'picking_type_id': ref('stock.picking_type_out'),
                     'location_id': ref('stock.stock_location_stock'),
                     'location_dest_id': ref('stock.stock_location_customers'),
                     })]"
        />
    </record>
    <record id="stock_picking_out_2_demo" model="stock.picking">
        <field name="picking_type_id" ref="stock.picking_type_out" />
        <field name="origin">Outgoing shipment (reservation rules demo 2)</field>
        <field name="partner_id" ref="base.res_partner_1" />
        <field name="date" eval="DateTime.today()" />
        <field name="location_id" ref="stock.stock_location_stock" />
        <field name="location_dest_id" ref="stock.stock_location_customers" />
        <field
            name="move_lines"
            model="stock.move"
            eval="[(0, 0, {
                     'name': obj().env.ref('stock_reserve_rule.product_funky_socks').name,
                     'product_id': ref('stock_reserve_rule.product_funky_socks'),
                     'product_uom': ref('uom.product_uom_unit'),
                     'product_uom_qty': 250.0,
                     'picking_type_id': ref('stock.picking_type_out'),
                     'location_id': ref('stock.stock_location_stock'),
                     'location_dest_id': ref('stock.stock_location_customers'),
                     })]"
        />
    </record>
</odoo>
