Commit d762252c authored by Nicolas Delaby's avatar Nicolas Delaby

Discard disabled field

Honour 'enabled' value of field as this feature is configurable
parent 05d29387
...@@ -907,7 +907,7 @@ class ODTStrategy(ODFStrategy): ...@@ -907,7 +907,7 @@ class ODTStrategy(ODFStrategy):
ooo_builder -- the OOoBuilder object which have an ODF document. ooo_builder -- the OOoBuilder object which have an ODF document.
iteration_index -- the index which is used when iterating the group of items using ReportSection. iteration_index -- the index which is used when iterating the group of items using ReportSection.
""" """
field_list = form.get_fields(include_disabled=1) field_list = form.get_fields()
REQUEST = here.REQUEST REQUEST = here.REQUEST
for (count, field) in enumerate(field_list): for (count, field) in enumerate(field_list):
if isinstance(field, ListBox): if isinstance(field, ListBox):
......
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