The Barefoot Executive (1971)
The Barefoot Executive is a live-action Walt Disney Productions film released by Buena Vista Distribution in 1971 starring Kurt Russell, Joe Flynn, Wally Cox, Heather North and John Ritter (in his film debut), about a pet chimpanzee, named Raffles, who can predict the popularity of television programs. It was one of the "gimmick comedies" (geared towards children with a touch of adult humour for older viewers) Disney was known for in the 1960s and 1970s, and was frequently shown on the Wonderful World of Disney in the 1980s.
More at Wikipedia.