RecursionError when reloading editable tree

Hi!
If we mark several records on tree view with editable="1" and click Reload button we get the following message:

  File "C:/msys64/home/ced/tryton-6.4-64/tryton/gui/window/view_form/view/list.py", line 1066, in __select_changed
  File "C:/msys64/home/ced/tryton-6.4-64/tryton/gui/window/view_form/model/record.py", line 396, in validate
  File "C:/msys64/home/ced/tryton-6.4-64/tryton/gui/window/view_form/model/record.py", line 257, in _check_load
  File "C:/msys64/home/ced/tryton-6.4-64/tryton/gui/window/view_form/model/record.py", line 504, in reload
  File "C:/msys64/home/ced/tryton-6.4-64/tryton/gui/window/view_form/model/record.py", line 396, in validate
  File "C:/msys64/home/ced/tryton-6.4-64/tryton/gui/window/view_form/model/record.py", line 257, in _check_load
  File "C:/msys64/home/ced/tryton-6.4-64/tryton/gui/window/view_form/model/record.py", line 504, in reload
  ...
RecursionError: maximum recursion depth exceeded in comparison

If only one record is marked the reload is performed without errors.
In case of tree view with editable="0" the reload also works fine.
Is this a bug in Tryton Client?

P.S. We are using Desktop Client 6.4.
Perhaps this issue is also in Desktop Client 7.x.

We noticed that if we add a context model to our model, the reload is performed without RecursionError.

Please try to reproduce on a maintained series and fill a bug report with the explanation to reproduce.

We have installed the latest version of Tryton and were unable to reproduce the bug in Desktop Client 7.6.1. Apparently it’s already fixed in this version.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.