GTK-Client. Invalid tree path '0'
Sometimes, when editing a formular and want to get back to the list, the GTK-client ( 5.0.2 ) creates an error: 'Invalid tree path 0'. The Stracktrace:
File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/form.py", line 198, in sig_switch
if not self.modified_save():
File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/form.py", line 500, in modified_save
self.screen.save_tree_state()
File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/view_form/screen/screen.py", line 842, in save_tree_state
widget.screen.save_tree_state(store)
File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/view_form/screen/screen.py", line 852, in save_tree_state
selected_paths = view.get_selected_paths()
File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/view_form/view/list.py", line 1171, in get_selected_paths
iter_ = model.get_iter(path)
File "/usr/lib64/python3.7/site-packages/gi/overrides/Gtk.py", line 874, in get_iter
raise ValueError("invalid tree path '%s'" % path)