Fix save_as_pdf view. _parent seems to be an existing method with security declaration.