From 57cd6dc2cb2fd7f644073c6efbc3911e95e05bdf Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Fri, 17 Feb 2017 11:06:49 +0100 Subject: [PATCH] Improve relate domain inversion when single record issue5475 review33801002 --- party.xml | 3 ++- sale.xml | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/party.xml b/party.xml index ffb8e7001a..6c953d91b0 100644 --- a/party.xml +++ b/party.xml @@ -7,7 +7,8 @@ this repository contains the full copyright notices and license terms. --> Sales sale.sale + eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('party', '=', Eval('active_id')), ('party', 'in', Eval('active_ids')))]" + pyson="1"/> diff --git a/sale.xml b/sale.xml index 8ce0d02a98..733a1bd315 100644 --- a/sale.xml +++ b/sale.xml @@ -72,7 +72,7 @@ this repository contains the full copyright notices and license terms. --> Shipments stock.shipment.out Returns stock.shipment.out.return @@ -97,7 +97,7 @@ this repository contains the full copyright notices and license terms. --> Invoices account.invoice Sales sale.sale Sales sale.sale