changeset 512adb5869a8 in tryton:5.0
details: https://hg.tryton.org/tryton?cmd=changeset&node=512adb5869a8
description:
        Do not clear tree_states when loading ids

        The tree state must be set after loading ids but we can rely on the 
stored
        state.

        issue10366
        review361811002
        (grafted from 3c66d5f1cc0002804cabed9fdcec4fb1198f1cf8)
diffstat:

 tryton/gui/window/view_form/screen/screen.py |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 2348b69957e7 -r 512adb5869a8 
tryton/gui/window/view_form/screen/screen.py
--- a/tryton/gui/window/view_form/screen/screen.py      Wed Apr 28 22:26:52 
2021 +0200
+++ b/tryton/gui/window/view_form/screen/screen.py      Fri Apr 30 13:29:22 
2021 +0200
@@ -887,7 +887,6 @@
         return json_domain
 
     def load(self, ids, set_cursor=True, modified=False):
-        self.tree_states.clear()
         self.tree_states_done.clear()
         self.group.load(ids, modified=modified)
         self.current_view.reset()

Reply via email to