diff --git a/dunning.xml b/dunning.xml
index 0668c8ac8c..bfe79a8c21 100644
--- a/dunning.xml
+++ b/dunning.xml
@@ -171,7 +171,7 @@ this repository contains the full copyright notices and license terms. -->
Dunnings
account.dunning
- [('line.party', '=', Eval('active_id'))]
+ [('line.party', 'in', Eval('active_ids'))]