247
256
return round(self.pool.get('product.uom')._compute_qty(cr, uid, product.uom_id.id, qty_to_order, product.uom_id.id), 2)
250
def get_available(self, cr, uid, product_id, location_id, monthly_consumption, d_values={}, context={}):
259
def get_available(self, cr, uid, product_id, location_id, monthly_consumption, d_values=None, context=None):
252
261
Compute the projected available quantity like this :
253
262
Available stock (real stock - picked reservation)