Commit c70163c5 authored by Guillaume Michon's avatar Guillaume Michon

Added a condition on isAccountable


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5944 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a190650a
......@@ -8,6 +8,7 @@ class_name:
class_file:
</dtml-comment>
<params>isMovement
isAccountable
uid
getStopDate
getDestinationUid
......@@ -27,7 +28,7 @@ WHERE
<dtml-let movement_list="[]">
<dtml-in prefix="loop" expr="_.range(_.len(uid))">
<dtml-if "isMovement[loop_item] and getAggregateUidList[loop_item]">
<dtml-if "isMovement[loop_item] and isAccountable[loop_item] and getAggregateUidList[loop_item]">
<dtml-call expr="movement_list.append(loop_item)">
</dtml-if>
</dtml-in>
......
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