changeset a6fffe8ad43e in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset&node=a6fffe8ad43e
description:
Use tab_domain when comparing tabs
issue10441
review381241002
diffstat:
tryton/gui/window/form.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r ad169d67663a -r a6fffe8ad43e tryton/gui/window/form.py
--- a/tryton/gui/window/form.py Wed Oct 20 15:18:58 2021 +0200
+++ b/tryton/gui/window/form.py Tue Oct 26 19:40:49 2021 +0200
@@ -119,7 +119,9 @@
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)