Comes from the phrase "les haricots", which is a shortened form of the mid-20th century song title "Haricots Sont Pas Sale", which means 'the beans* are not salty', which alludes to how rough times were that they didn't have enough money to put salt on their beans.

* The beans referred to are snap beans