[FIX] mrp_repair: syntax error typo
bzr revid: xmo@openerp.com-20101005091022-dmwju7zimmja2fzg
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user