[Erp5-report] r39079 yo - /erp5/trunk/products/ERP5Type/Base.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 13 05:04:26 CEST 2010


Author: yo
Date: Wed Oct 13 05:04:26 2010
New Revision: 39079

URL: http://svn.erp5.org?rev=39079&view=rev
Log:
Fix an undefined symbol.

Modified:
    erp5/trunk/products/ERP5Type/Base.py

Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=39079&r1=39078&r2=39079&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Base.py [utf8] Wed Oct 13 05:04:26 2010
@@ -3042,7 +3042,7 @@ class Base( CopyContainer,
       return method(container, **kw)
 
     # XXX this should not happen, unless the Business Template is broken.
-    return dict(redirect_url=context.absolute_url() + '/view',
+    return dict(redirect_url=container.absolute_url() + '/view',
                 selection_index=None, selection_name=None)
 
   # Hash method




More information about the Erp5-report mailing list