Fix : replenish function was not working with virtual stock