Question: where was the movie the ugly truth filmed
Answer: The film was , for the most part , filmed on location in California , including Sacramento , Los Angeles , and San Pedro , Los Angeles .