changeset 6e1d181915da in tryton:6.0
details: https://hg.tryton.org/tryton?cmd=changeset&node=6e1d181915da
description:
        Use tab_domain when comparing tabs

        issue10441
        review381241002
        (grafted from a6fffe8ad43e18a3ced95c6814bbe6e49dfcb759)
diffstat:

 tryton/gui/window/form.py |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 310c54d59854 -r 6e1d181915da 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)

Reply via email to