[Erp5-report] r31095 yo - /erp5/trunk/products/ERP5Form/ListBox.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Dec 5 03:42:45 CET 2009


Author: yo
Date: Sat Dec  5 03:42:45 2009
New Revision: 31095

URL: http://svn.erp5.org?rev=31095&view=rev
Log:
editable is different from enabled.

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=31095&r1=31094&r2=31095&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py [utf8] (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py [utf8] Sat Dec  5 03:42:45 2009
@@ -2334,7 +2334,7 @@
         if url is None:
           html = cell_html + error_message
         else:
-          if enabled:
+          if editable_field.get_value('editable', REQUEST=request):
             html = u'%s' % cell_html
           else:
             html = u'<a href="%s">%s</a>' % (url, cell_html)




More information about the Erp5-report mailing list