[Erp5-report] r35769 romain - /erp5/trunk/products/ERP5Form/ProxyField.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 31 10:33:27 CEST 2010


Author: romain
Date: Mon May 31 10:33:25 2010
New Revision: 35769

URL: http://svn.erp5.org?rev=35769&view=rev
Log:
Do not expect to find the template field in the first field library of the skin selection.

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

Modified: erp5/trunk/products/ERP5Form/ProxyField.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ProxyField.py?rev=35769&r1=35768&r2=35769&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ProxyField.py [utf8] (original)
+++ erp5/trunk/products/ERP5Form/ProxyField.py [utf8] Mon May 31 10:33:25 2010
@@ -574,10 +574,7 @@
     """
     proxy_field = self.getTemplateField()
     if proxy_field:
-      url='/'.join((self.absolute_url(),
-                    self.get_value('form_id'),
-                    self.get_value('field_id'),
-                    'manage_main'))
+      url = "%s/manage_main" % proxy_field.absolute_url() 
       REQUEST.RESPONSE.redirect(url)
     else:
       # FIXME: should show some error message 




More information about the Erp5-report mailing list