From 3b55455cc11b0995be2db6d2eaae2f5498acfee5 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Fri, 17 Feb 2017 11:07:45 +0100 Subject: [PATCH] Improve relate domain inversion when single record issue5475 review33801002 --- party.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/party.xml b/party.xml index 4585ce7d7e..90ed4ca515 100644 --- a/party.xml +++ b/party.xml @@ -13,7 +13,8 @@ this repository contains the full copyright notices and license terms. --> Customer Shipments stock.shipment.out + eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('customer', '=', Eval('active_id')), ('customer', 'in', Eval('active_ids')))]" + pyson="1"/> @@ -31,7 +32,8 @@ this repository contains the full copyright notices and license terms. --> Supplier Shipments stock.shipment.in + eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('supplier', '=', Eval('active_id')), ('supplier', 'in', Eval('active_ids')))]" + pyson="1"/>