Commit 9814bc6e authored by Sebastien Robin's avatar Sebastien Robin

added request when we want to see if a field is editable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@872 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f461be81
......@@ -372,7 +372,7 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
# skip any field we don't need to validate
if not field.need_validate(REQUEST):
continue
if not (field.get_value('editable')):
if not (field.get_value('editable',REQUEST=REQUEST)):
continue
try:
value = field.validate(REQUEST)
......
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