Commit 1177f4a9 authored by Klaus Wölfel's avatar Klaus Wölfel

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

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