[Erp5-report] r36555 mayoro - /erp5/trunk/products/ERP5/Document/PDFTypeInformation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 23 19:33:54 CEST 2010


Author: mayoro
Date: Wed Jun 23 19:33:53 2010
New Revision: 36555

URL: http://svn.erp5.org?rev=36555&view=rev
Log:
Add propertySheet Reference and Login to allow anonymous procedure to log in

Modified:
    erp5/trunk/products/ERP5/Document/PDFTypeInformation.py

Modified: erp5/trunk/products/ERP5/Document/PDFTypeInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PDFTypeInformation.py?rev=36555&r1=36554&r2=36555&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PDFTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PDFTypeInformation.py [utf8] Wed Jun 23 19:33:53 2010
@@ -419,7 +419,9 @@ class PDFTypeInformation(ERP5TypeInforma
   isPortalContent = 1
   isRADContent = 1
 
-  property_sheets = ( PropertySheet.PDFType, )
+  property_sheets = ( PropertySheet.PDFType, 
+                      PropertySheet.Reference,
+                      PropertySheet.Login,)
 
   # Declarative security
   security = ClassSecurityInfo()
@@ -767,6 +769,9 @@ class PDFTypeInformation(ERP5TypeInforma
     ]
 
   def updatePropertySheetDefinitionDict(self, definition_dict, **kw):
+    """
+    This function add properties of scribus file to the propertySheet 
+    """
     if self.getDefaultScribusFormValue() is None:
       return
     if '_properties' in definition_dict:




More information about the Erp5-report mailing list