[Erp5-report] r12900 - /erp5/trunk/products/ERP5Form/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 20 10:52:23 CET 2007


Author: romain
Date: Tue Feb 20 10:52:21 2007
New Revision: 12900

URL: http://svn.erp5.org?rev=12900&view=rev
Log:
Do not forget to pass the REQUEST to the parent method.

Modified:
    erp5/trunk/products/ERP5Form/MultiRelationField.py
    erp5/trunk/products/ERP5Form/RelationField.py

Modified: erp5/trunk/products/ERP5Form/MultiRelationField.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/MultiRelationField.py?rev=12900&r1=12899&r2=12900&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/MultiRelationField.py (original)
+++ erp5/trunk/products/ERP5Form/MultiRelationField.py Tue Feb 20 10:52:21 2007
@@ -785,5 +785,5 @@
       # relation_item_list is not editable for the RelationField
       result = REQUEST.get('relation_item_list', None)
     else:
-      result = ZMIField.get_value(self, id, **kw)
+      result = ZMIField.get_value(self, id, REQUEST=REQUEST, **kw)
     return result

Modified: erp5/trunk/products/ERP5Form/RelationField.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/RelationField.py?rev=12900&r1=12899&r2=12900&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/RelationField.py (original)
+++ erp5/trunk/products/ERP5Form/RelationField.py Tue Feb 20 10:52:21 2007
@@ -176,5 +176,5 @@
       # relation_item_list is not editable for the RelationField
       result = REQUEST.get('relation_item_list', None)
     else:
-      result = ZMIField.get_value(self, id, **kw)
+      result = ZMIField.get_value(self, id, REQUEST=REQUEST, **kw)
     return result




More information about the Erp5-report mailing list