Commit c85a8fd8 authored by Mayoro Diagne's avatar Mayoro Diagne

Add propertySheet Reference and Login to allow anonymous procedure to log in

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36555 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 359ac5b4
...@@ -419,7 +419,9 @@ class PDFTypeInformation(ERP5TypeInformation): ...@@ -419,7 +419,9 @@ class PDFTypeInformation(ERP5TypeInformation):
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
property_sheets = ( PropertySheet.PDFType, ) property_sheets = ( PropertySheet.PDFType,
PropertySheet.Reference,
PropertySheet.Login,)
# Declarative security # Declarative security
security = ClassSecurityInfo() security = ClassSecurityInfo()
...@@ -767,6 +769,9 @@ class PDFTypeInformation(ERP5TypeInformation): ...@@ -767,6 +769,9 @@ class PDFTypeInformation(ERP5TypeInformation):
] ]
def updatePropertySheetDefinitionDict(self, definition_dict, **kw): def updatePropertySheetDefinitionDict(self, definition_dict, **kw):
"""
This function add properties of scribus file to the propertySheet
"""
if self.getDefaultScribusFormValue() is None: if self.getDefaultScribusFormValue() is None:
return return
if '_properties' in definition_dict: if '_properties' in definition_dict:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment