[Erp5-report] r15199 - /erp5/trunk/products/ERP5Form/PlanningBox.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jul 12 07:41:11 CEST 2007


Author: rafael
Date: Thu Jul 12 07:41:10 2007
New Revision: 15199

URL: http://svn.erp5.org?rev=15199&view=rev
Log:
Undone. This was braking the planning box links. 


Modified:
    erp5/trunk/products/ERP5Form/PlanningBox.py

Modified: erp5/trunk/products/ERP5Form/PlanningBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/PlanningBox.py?rev=15199&r1=15198&r2=15199&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/PlanningBox.py (original)
+++ erp5/trunk/products/ERP5Form/PlanningBox.py Thu Jul 12 07:41:10 2007
@@ -1941,12 +1941,13 @@
             # This approach is also used by ListBox, but in Planning Box
             # the parameters are not important for now. In future, can be define
             # special sublinks using this implementation.
-            if getattr(activity_content, 'getListItemUrl', None):
-              url = activity_content.getListItemUrl(cname_id='', 
-                  selection_index='',
-                  selection_name=self.field.get_value('selection_name'))
-            else:
-              url = object.getUrl()
+            #if getattr(activity_content, 'getListItemUrl', None):
+            #  url = activity_content.getListItemUrl(cname_id='', 
+            #      selection_index='',
+            #      selection_name=self.field.get_value('selection_name'))
+            #else:
+            #  url = object.getUrl()
+            url = object.getUrl()
 
             # XXX should define height of block here
             height = None




More information about the Erp5-report mailing list