Office Depot (ODP) - Get Report has not achieved any monumental turnaround, but a J.P. Morgan analyst has nonetheless decided to upgrade the stock on some potential maybes.

Analyst Christopher Horvers said in a note on Friday that he upgraded the stock to overweight from neutral, on his belief that the economy will stabilize over the next year. About 70% of the company's revenue growth is attributable to macro-economic conditions.

But what happens if said foreseen stabilization comes a cropper? Investors don't seem to care, sending shares of the office supplies retailer soaring 10% in morning trading to $4.82.

Other reasons for the upgrade: stabilizing same-store sales and the potential full-year benefit from store closures.

Horvers, it's worth noting, warned the stock is not for the "faint of heart." Prior to the upgrade Office Depot had one buy rating, 12 holds and three sells.

"Office Depot has demonstrated inconsistency since 2006, and management has lost some credibility," he wrote. "Also, the second quarter could be the worst quarter of 2009 for Office Depot given seasonally low revenues."

In its first quarter, Office Depot recorded a

smaller-than-expected loss in the first quarter of $55 million, or 20 cents a share, compared with a profit $69 million, or 25 cents, last year.

Excluding charges for restructuring, which included facility closings, the company reported earnings of 10 cents a share. Analysts were expecting a loss of 10 cents.

Earlier this week, rival

Staples

(SPLS)

posted a

33% drop in first-quarter earnings

, but still managed to exceed analysts' expectations.

Copyright 2009 TheStreet.com Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.