diff --git a/product/ERP5Form/PDFForm.py b/product/ERP5Form/PDFForm.py index b18fc5a59ca3c559d07f51ecf29a82b17b2ca909..2091b26e7384b1ae70294cace3fa68d2912fae02 100644 --- a/product/ERP5Form/PDFForm.py +++ b/product/ERP5Form/PDFForm.py @@ -368,7 +368,7 @@ class PDFForm(File): """Return true if there is an enclosed PDF in this PDF Form.""" return self.data is not None and len(self.data) > 0 - security.declareProtected(Permissions.ManagePortal, 'downloadPDFContent') + security.declareProtected(Permissions.ManagePortal, 'downloadPdfContent') def downloadPdfContent(self, REQUEST=None) : """Download the pdf content from one of `download_url` URL """ for url in self.getProperty('download_url') :