[FIX] sale: forgot sale_line_id field in procurement generation in previous refactoring

bzr revid: rvalyi@gmail.com-20110922163131-c76u3dg2afrahh16
This commit is contained in:
Raphaël Valyi 2011-09-22 13:31:31 -03:00
parent c57e613c0a
commit d56c6a1e40
1 changed files with 1 additions and 0 deletions

View File

@ -761,6 +761,7 @@ class sale_order(osv.osv):
'move_id': move_id,
'property_ids': [(6, 0, [x.id for x in line.property_ids])],
'company_id': order.company_id.id,
'sale_line_id': line.id,
}, *args)
proc_ids.append(proc_id)
self.pool.get('sale.order.line').write(cr, uid, [line.id], {'procurement_id': proc_id})