From 8cf52dd26a922abf2ccf2f0925a42861bb9202f4 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Fri, 17 Feb 2017 11:05:15 +0100 Subject: [PATCH] Improve relate domain inversion when single record issue5475 review33801002 --- statement.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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