changeset ce5f733b02e4 in tryton:5.0
details: https://hg.tryton.org/tryton?cmd=changeset&node=ce5f733b02e4
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 3ba7494b91b6 -r ce5f733b02e4 tryton/gui/window/form.py
--- a/tryton/gui/window/form.py Fri Oct 15 17:16:12 2021 +0200
+++ b/tryton/gui/window/form.py Tue Oct 26 19:40:49 2021 +0200
@@ -94,7 +94,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