From fe3cd0b3ced012fd7b2076d78269dc7a3fd73018 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Fri, 17 Feb 2017 11:05:30 +0100 Subject: [PATCH] Improve relate domain inversion when single record issue5475 review33801002 --- commission.xml | 3 ++- invoice.xml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/commission.xml b/commission.xml index 93de8daf5e..b1131e2526 100644 --- a/commission.xml +++ b/commission.xml @@ -203,7 +203,8 @@ this repository contains the full copyright notices and license terms. --> Commissions commission + eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('agent', '=', Eval('active_id')), ('agent', 'in', Eval('active_ids')))]" + pyson="1"/> form_relate diff --git a/invoice.xml b/invoice.xml index a971f2cbf4..0c235b80f4 100644 --- a/invoice.xml +++ b/invoice.xml @@ -18,7 +18,7 @@ this repository contains the full copyright notices and license terms. --> Commissions commission From Commissions commission