[FIX] mrp_repair: change default production location
bzr revid: christophe@tinyerp.com-20081201110042-6pp1b66tmmdpu437
This commit is contained in:
@@ -499,7 +499,7 @@ class mrp_repair_line(osv.osv, ProductChangeMixin):
|
||||
}
|
||||
}
|
||||
stock_id = self.pool.get('stock.location').search(cr, uid, [('name','=','Stock')])[0]
|
||||
produc_id = self.pool.get('stock.location').search(cr, uid, [('name','=','Default Production')])[0]
|
||||
produc_id = self.pool.get('stock.location').search(cr, uid, [('name','=','Production')])[0]
|
||||
to_invoice=False
|
||||
if guarantee_limit and today() > mx.DateTime.strptime(guarantee_limit, '%Y-%m-%d'):
|
||||
to_invoice=True
|
||||
|
||||
Reference in New Issue
Block a user