[Erp5-report] r33638 mame - in /erp5/trunk/bt5/erp5_dms: ActionTemplateItem/portal_types/Te...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 11 13:32:19 CET 2010


Author: mame
Date: Thu Mar 11 13:32:14 2010
New Revision: 33638

URL: http://svn.erp5.org?rev=33638&view=rev
Log:
Modified action information so that download original file exchange action on OOo Document  is not shown if the user is not authorized to get the file in original format

Modified:
    erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml
    erp5/trunk/bt5/erp5_dms/bt/revision

Modified: erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml?rev=33638&r1=33637&r2=33638&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml [utf8] Thu Mar 11 13:32:14 2010
@@ -35,7 +35,9 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>icon</string> </key>
@@ -95,7 +97,7 @@
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:object.hasBaseData()</string> </value>
+            <value> <string>python:object.hasBaseData() and object.Document_isTargetFormatPermitted(format=None)</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_dms/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/revision?rev=33638&r1=33637&r2=33638&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/bt/revision [utf8] Thu Mar 11 13:32:14 2010
@@ -1,1 +1,1 @@
-1090
+1091




More information about the Erp5-report mailing list