flectra/addons/stock/data/stock_quant_demo.xml

13 lines
491 B
XML
Raw Normal View History

<odoo>
<record id="test_quant_product" model="product.product">
<field name="name">Whiteboard</field>
<field name="type">product</field>
</record>
<record id="test_quant_quant" model="stock.quant">
<field name="product_id" ref="stock.test_quant_product"/>
<field name="product_uom_id" ref="product.product_uom_unit"/>
<field name="location_id" ref="stock_location_stock"/>
<field name="quantity">10.0</field>
</record>
</odoo>