[FIX] is price not in pricelist for a PO

bzr revid: fp@tinyerp.com-20110925224429-nb300pvodh02vh1y
This commit is contained in:
Fabien Pinckaers 2011-09-26 00:44:29 +02:00
parent 592305f15e
commit 732f778f4e
1 changed files with 1 additions and 1 deletions

View File

@ -836,7 +836,7 @@ class procurement_order(osv.osv):
'product_qty': qty,
'product_id': procurement.product_id.id,
'product_uom': uom_id,
'price_unit': price,
'price_unit': price or 0.0,
'date_planned': schedule_date.strftime('%Y-%m-%d %H:%M:%S'),
'move_dest_id': res_id,
'notes': product.description_purchase,