summaryrefslogtreecommitdiff
path: root/addons/stock/data/stock_orderpoint_demo.xml
blob: eab6be763f505707bde98f18ceefe2edd8eed873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<odoo>
    <data noupdate="1">

        <!-- Resource: stock.warehouse.orderpoint -->

        <record id="stock_warehouse_orderpoint_1" model="stock.warehouse.orderpoint">
            <field name="product_max_qty">10.0</field>
            <field name="product_min_qty">5.0</field>
            <field name="product_uom" ref="uom.product_uom_unit"/>
            <field model="stock.warehouse" name="warehouse_id" search="[]"/>
            <field name="product_id" ref="product.product_delivery_02"/>
            <field name="location_id" model="stock.location"
                eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/>
        </record>
        <record id="stock_warehouse_orderpoint_2" model="stock.warehouse.orderpoint">
            <field name="product_max_qty">12.0</field>
            <field name="product_min_qty">5.0</field>
            <field name="product_uom" ref="uom.product_uom_unit"/>
            <field model="stock.warehouse" name="warehouse_id" search="[]"/>
            <field name="product_id" ref="product.product_product_20"/>
            <field name="location_id" model="stock.location"
                eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/>
        </record>
        <record id="stock_warehouse_orderpoint_5" model="stock.warehouse.orderpoint">
            <field name="product_max_qty">5.0</field>
            <field name="product_min_qty">3.0</field>
            <field name="product_uom" ref="uom.product_uom_unit"/>
            <field model="stock.warehouse" name="warehouse_id" search="[]"/>
            <field name="product_id" ref="product.product_delivery_01"/>
            <field name="location_id" model="stock.location"
                eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/>
        </record>

    </data>
</odoo>