diff --git a/statement.xml b/statement.xml
index ccbb6c1c52..f99ae2d42c 100644
--- a/statement.xml
+++ b/statement.xml
@@ -123,7 +123,8 @@ this repository contains the full copyright notices and license terms. -->
Statement Lines
account.statement.line
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('move', '=', Eval('active_id')), ('move', 'in', Eval('active_ids')))]"
+ pyson="1"/>
form_relate
@@ -135,7 +136,8 @@ this repository contains the full copyright notices and license terms. -->
Statement Lines
account.statement.line
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('move.lines', '=', Eval('active_id')), ('move.lines', 'in', Eval('active_ids')))]"
+ pyson="1"/>
form_relate
@@ -342,7 +344,7 @@ this repository contains the full copyright notices and license terms. -->
Move Lines
account.move.line
@@ -355,7 +357,7 @@ this repository contains the full copyright notices and license terms. -->
Moves
account.move
@@ -368,7 +370,8 @@ this repository contains the full copyright notices and license terms. -->
Line Groups
account.statement.line.group
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('journal', '=', Eval('active_id')), ('journal', 'in', Eval('active_ids')))]"
+ pyson="1"/>
form_relate