Barnyard (2006)

It's a 2006 Paramount/Nickelodeon animated comedy movie.