lp bug: https://launchpad.net/bugs/751966 fixed
bzr revid: nep@tinyerp.com-
20110527090307-m3zq2zogdqf889s4
#if bom_point.routing_id and bom_point.routing_id.location_id:
# self.write(cr, uid, [production.id], {'location_src_id': bom_point.routing_id.location_id.id})
- factor = production.product_qty * production.product_uom.factor_inv / bom_point.product_uom.factor
+ factor = production.product_qty * production.product_uom.factor_inv * bom_point.product_uom.factor
res = self.pool.get('mrp.bom')._bom_explode(cr, uid, bom_point, factor / bom_point.product_qty, properties)
results = res[0]
results2 = res[1]