TypeError: argument path: Expected Gtk.TreePath, but got int
File "/home/angel/projectes/tryton/upgrades/default/tryton/tryton/gui/window/view_form/view/list_gtk/editabletree.py", line 241, in on_keypressed
self.on_quit_cell(record, column, renderer, txt, callback=callback)
File "/home/angel/projectes/tryton/upgrades/default/tryton/tryton/gui/window/view_form/view/list_gtk/editabletree.py", line 100, in on_quit_cell
widget.value_from_text(current_record, value, callback=callback)
File "/home/angel/projectes/tryton/upgrades/default/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py", line 320, in value_from_text
callback()
File "/home/angel/projectes/tryton/upgrades/default/tryton/tryton/gui/window/view_form/view/list_gtk/editabletree.py", line 230, in callback
self._key_down(path, model, column)
File "/home/angel/projectes/tryton/upgrades/default/tryton/tryton/gui/window/view_form/view/list_gtk/editabletree.py", line 284, in _key_down
self.set_cursor(new_path, column, True)
File "/home/angel/projectes/tryton/upgrades/default/tryton/tryton/gui/window/view_form/view/list_gtk/editabletree.py", line 142, in set_cursor
self.set_cursor_on_cell(path, focus_column, cell, start_editing)
TypeError: argument path: Expected Gtk.TreePath, but got int
To reproduce:
- Create inventory
- Create line
- set Quantity and press key (down arrow or enter).