Legs

Where does the expression that something "has legs," meaning an idea or project that is practicable, come from? I have the idea that it is an expression of the movie industry, but I don't know.

There is an English proverb: "a lie has no legs".

(Natty)