From 70affbc3fe7fea0b6d3294b81d7b790af9dae1c4 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Fri, 17 Feb 2017 11:07:57 +0100 Subject: [PATCH] Improve relate domain inversion when single record issue5475 review33801002 --- product.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/product.xml b/product.xml index 1097e23a3b..db24724809 100644 --- a/product.xml +++ b/product.xml @@ -7,7 +7,8 @@ this repository contains the full copyright notices and license terms. --> Order Points stock.order_point + eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('product', '=', Eval('active_id')), ('product', 'in', Eval('active_ids')))]" + pyson="1"/> form_relate @@ -19,7 +20,8 @@ this repository contains the full copyright notices and license terms. --> Order Points stock.order_point + eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('product.template', '=', Eval('active_id')), ('product.template', 'in', Eval('active_ids')))]" + pyson="1"/> form_relate