Commit bdcce3ec authored by Tomáš Peterka's avatar Tomáš Peterka

[ERP5Form] Pass request to fields

parent 0b83a430
...@@ -391,7 +391,7 @@ def get_value(self, id, REQUEST=None, **kw): ...@@ -391,7 +391,7 @@ def get_value(self, id, REQUEST=None, **kw):
field_value_cache[cache_id] = value field_value_cache[cache_id] = value
if callable(value): if callable(value):
return value(field, id, **kw) return value(field, id, REQUEST=REQUEST, **kw)
return value return value
psyco.bind(get_value) psyco.bind(get_value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment