changeset f5a250ad2b4f in tryton:5.6
details: https://hg.tryton.org/tryton?cmd=changeset&node=f5a250ad2b4f
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 f587c4bee161 -r f5a250ad2b4f 
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
@@ -892,7 +892,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