Error tryton client when try read records deleted for wizard
Error when tryton client try to read deleted records by a wizard.
Note: the bug not is to read a deleted record but to reference before assignment of local variable
ERROR:tryton.common.common: File "/usr/lib/python3.7/site-packages/tryton/__init__.py", line 49, in callback
return func(*args)
File "/usr/lib/python3.7/site-packages/tryton/gui/window/view_form/view/list_gtk/widget.py", line 57, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/tryton/gui/window/view_form/view/list_gtk/widget.py", line 352, in setter
field = record[self.attrs['name']]
File "/usr/lib/python3.7/site-packages/tryton/gui/window/view_form/model/record.py", line 131, in __getitem__
record.exception = bool(exception)
local variable 'exception' referenced before assignment