Moves UoM models, test and data to a new addon in order to be able to use uom without product. A simple example is be to be able to use UoM for timesheets. This commit only move code, and adapt xml ids without chaging any feature or functionnal behavior. Note: 'product' module now depends on new 'uom' module.
13 lines
487 B
XML
13 lines
487 B
XML
<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="uom.product_uom_unit"/>
|
|
<field name="location_id" ref="stock_location_stock"/>
|
|
<field name="quantity">10.0</field>
|
|
</record>
|
|
</odoo>
|