[FIX] mrp repair when removing parts

bzr revid: api@openerp.com-20121212150802-i8d83i131qyq4arq
This commit is contained in:
Arnaud Pineux
2012-12-12 16:08:02 +01:00
parent 2aeec4999c
commit 2b85513ee0
+1 -1
View File
@@ -752,7 +752,7 @@ class mrp_repair_line(osv.osv, ProductChangeMixin):
return {'value': {
'to_invoice': False,
'location_id': location_id,
'location_dest_id': False
'location_dest_id': self.pool.get('stock.location').search(cr, uid, [('name','=','Inventory loss')], context=context)
}}
mrp_repair_line()