Commit 8d3388d4 authored by Arnaud Fontaine's avatar Arnaud Fontaine

erp5_core: ZODB History view: Display private properties starting with '_'.

Useful for SolverType._configuration_property_dict but more generally
the whole history should be displayed as this view is used by developers.
parent 3b9c3789
......@@ -118,7 +118,7 @@ def getChangeHistoryList(document, size=50, attribute_name=None):
if previous_state is None:
previous_state = {}
for key in current_state:
if key.startswith('_') or key == 'workflow_history' or key == 'categories':
if key == 'workflow_history' or key == 'categories':
continue
if previous_state.get(key) != current_state[key]:
changes[key] = current_state[key]
......
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