Photovoltaic panel with frame