Commit 1416eaa3 authored by Klaus Wölfel's avatar Klaus Wölfel

erp5_pdm: do not show hidden (deleted) lines in movement history list

parent 0e69cc4b
history_list = context.getMovementHistoryList(**kw)
reverse_list = []
for x in history_list:
try:
if x.getVisibilityState() == "hidden":
continue
except AttributeError:
pass
reverse_list.insert(0, x)
return reverse_list
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