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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jul 8 03:23:56 CEST 2010


Author: mayoro
Date: Thu Jul  8 03:23:54 2010
New Revision: 36966

URL: http://svn.erp5.org?rev=36966&view=rev
Log:
use dms_cache_factory instead of dms_cache_long (mistake), PDF form tab id is view, View tab of PDF form should be over than the form it self to allow good display

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=36966&r1=36965&r2=36966&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PDFTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PDFTypeInformation.py [utf8] Thu Jul  8 03:23:54 2010
@@ -69,7 +69,7 @@ def getPropertiesCSSDict(parsed_scribus
     properties_css_page = {}
     properties_css_pagediv = {}
     properties_page = {}
-    properties_css_page['position'] = 'relative'
+    #properties_css_page['position'] = 'relative'
     # creating image class for background
     properties_css_background = {}
     # making background id
@@ -432,7 +432,7 @@ class PDFTypeInformation(ERP5TypeInforma
     generateParsedScribus = CachingMethod(generateParsedScribus,
                                         ('PDFTypeInformation_generateParsedScribus',
                                         md5.new(scribus_form.getData()).digest()),
-                                        cache_factory='dms_cache_long')
+                                        cache_factory='dms_cache_factory')
     return generateParsedScribus()
 
   def getERP5Form(self):
@@ -545,7 +545,7 @@ class PDFTypeInformation(ERP5TypeInforma
     #generateERP5Form = CachingMethod(generateERP5Form,
     #                                ('PDFTypeInformation_generateERP5Form',
     #                                md5.new(self.getDefaultScribusFormValue().getData()).digest()),
-    #                                cache_factory='dms_cache_long')
+    #                                cache_factory='dms_cache_factory')
     return generateERP5Form().__of__(self)
 
   # XXX criticize ERP5.Document.Image
@@ -708,7 +708,7 @@ class PDFTypeInformation(ERP5TypeInforma
     else:
       name = 'Document Procedure Definition'
     return list(action_list) + [
-      CacheableAction(id='form',
+      CacheableAction(id='view',
                       name=name,
                       description='',
                       category='object_view',




More information about the Erp5-report mailing list