How do med schools view premeds taken at colleges other than one's undergrad institution?

I agree state schools are more harder because of the sheer volume of students trying to get through premed being weeded out. Only way to have better grades is to attend a school known of easy grading for specific classes during summer. I am currently advising a friend’s kid where the dad is very paranoid that the kid took physics in summer at community college although he has a very good GPA at his state flagship. The kid is really good at math and sciences but got burnt in high school AP physics and didn’t want to risk the grade in college. The kid already took a class and didn’t tell me so I couldn’t stop it. I am advising that physics II be taken in regular school to show that it wasn’t the ease of community college but scheduling.