[FIX]: purchase: Fixed demo of purchase order, it was finding for any uom and assigns first one to product which leads to uom categories mismatch if we use --test-commit option

bzr revid: rpa@tinyerp.com-20111111114438-420wk4z067kwlzkc
This commit is contained in:
Rucha (Open ERP)
2011-11-11 17:14:38 +05:30
parent 2e2aa576d8
commit 162163cf64
+1 -1
View File
@@ -56,7 +56,7 @@
<field name="date_planned" eval="time.strftime('%Y/%m/%d')"/>
<field name="name">New server config + material</field>
<field model="product.product" name="product_id" search="[]"/>
<field model="product.uom" name="product_uom" search="[]"/>
<field name="product_uom" ref="product.product_uom_unit"/>
<field name="price_unit">150</field>
<field name="product_qty">5</field>
</record>