[Erp5-report] r8496 - /erp5/trunk/products/ERP5Form/ListBox.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jul 18 16:39:30 CEST 2006
Author: yo
Date: Tue Jul 18 16:39:29 2006
New Revision: 8496
URL: http://svn.erp5.org?rev=8496&view=rev
Log:
Do not use getRelativeUrl for domains.
Modified:
erp5/trunk/products/ERP5Form/ListBox.py
Modified: erp5/trunk/products/ERP5Form/ListBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ListBox.py?rev=8496&r1=8495&r2=8496&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py Tue Jul 18 16:39:29 2006
@@ -1056,7 +1056,7 @@
# FIXME: this is a bad hack. DomainSelection should use
# portal_type to determine the type of the object instead
# of whether it is a string or not.
- root_dict[base_domain] = root.getRelativeUrl()
+ root_dict[base_domain] = domain
if root is None:
try:
root_dict[None] = portal_object.restrictedTraverse(domain)
More information about the Erp5-report
mailing list