[FIX] mrp_repair: syntax error typo

bzr revid: xmo@openerp.com-20101005091022-dmwju7zimmja2fzg
This commit is contained in:
Xavier Morel
2010-10-05 11:10:22 +02:00
parent 46f3fb224f
commit c36a3d3390
+1 -1
View File
@@ -695,7 +695,7 @@ class mrp_repair_line(osv.osv, ProductChangeMixin):
stock_id = self.pool.get('stock.location').search(cr, uid, [('name','=','Stock')])[0]
to_invoice = (guarantee_limit and
datetime.strptime(guarantee_limit, '%Y-%m-%d') < datetime.now()):
datetime.strptime(guarantee_limit, '%Y-%m-%d') < datetime.now())
return {'value': {
'to_invoice': to_invoice,
'location_id': stock_id,