From 2ca8aec1c3e0bdbd13b08e5dd8c286b631787a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 26 Oct 2021 19:40:49 +0200 Subject: [PATCH] Use tab_domain when comparing tabs issue10441 review381241002 (grafted from a6fffe8ad43e18a3ced95c6814bbe6e49dfcb759) --HG-- branch : 6.0 --- tryton/gui/window/form.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tryton/gui/window/form.py b/tryton/gui/window/form.py index f5eb9a174d..01f5e685cc 100644 --- a/tryton/gui/window/form.py +++ b/tryton/gui/window/form.py @@ -119,7 +119,9 @@ class Form(SignalEvent, TabContent): attributes.get('mode') or ['tree', 'form'])) and self.screen.local_context == attributes.get('context') and self.attributes.get('search_value') == ( - attributes.get('search_value'))) + attributes.get('search_value')) + and self.attributes.get('tab_domain') == ( + attributes.get('tab_domain'))) def __hash__(self): return id(self)