# Desktop Client issue with editable tree line

**URL:** https://discuss.tryton.org/t/desktop-client-issue-with-editable-tree-line/3513
**Category:** User
**Created:** [December 2, 2020, 5:42pm UTC](https://discuss.tryton.org/t/desktop-client-issue-with-editable-tree-line/3513 "2020-12-02T17:42:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![yoeldiomedez](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/yoeldiomedez/32/943_2.png) [@yoeldiomedez](https://discuss.tryton.org/u/yoeldiomedez)
#### Post date: [December 2, 2020, 5:42pm UTC](https://discuss.tryton.org/t/desktop-client-issue-with-editable-tree-line/3513/1 "2020-12-02T17:42:44Z")

</div>

Hello everyone,  
I hope you could help me figured out what’s happening.

Whenever the user adds new lines

 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/2/24896012adab0552a51460e7a240bb8fd6c69fea.png)  
and then puts the cursor on the second one and then tries to add a new line, the product of the last one disappears from the line or gets blank.  
 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/0/097fb3b3a5e8ced51dc00888d52b40ec938ccd35.png)  
Moreover if the user tries to delete that one line with the product in blank raises an application error.  
 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/2/28d78b3198d6bc5248f5c531955b98797da026fc.png)  
Finally when the user hits the button close a line is deleted and the error keeps showing so the user keeps hitting the close button until no lines are left.

Trace of the error:

```
  File "/usr/local/lib/python3.6/dist-packages/tryton-5.0.25-py3.6.egg/tryton/gui/window/view_form/view/list_gtk/widget.py", line 732, in _update_completion
    record, field = self._get_record_field(path)
  File "/usr/local/lib/python3.6/dist-packages/tryton-5.0.25-py3.6.egg/tryton/gui/window/view_form/view/list_gtk/widget.py", line 279, in _get_record_field
    record = store.get_value(store.get_iter(path), 0)
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 839, in get_iter
    raise ValueError("invalid tree path '%s'" % path)

```

- What could be happening?
- Is it actually a desktop client issue (because this doesn’t happen on web client) or a programming issue?

I am looking forward to answers, thanks in advance.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [December 2, 2020, 6:12pm UTC](https://discuss.tryton.org/t/desktop-client-issue-with-editable-tree-line/3513/2 "2020-12-02T18:12:36Z")

</div>

For me it looks like [Selection field value is cleared when creating a new row (#9618) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue9618)

---

<div class="post-metadata">

### Author: ![yoeldiomedez](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/yoeldiomedez/32/943_2.png) [@yoeldiomedez](https://discuss.tryton.org/u/yoeldiomedez)
#### Post date: [December 3, 2020, 1:31am UTC](https://discuss.tryton.org/t/desktop-client-issue-with-editable-tree-line/3513/3 "2020-12-03T01:31:13Z")

</div>

Well thank you Ced, I’ve updated desktop client from 5.0.25 to the most latest version **(5.0.29)** I found in [https://downloads-cdn.tryton.org/5.0/](https://downloads-cdn.tryton.org/5.0/) and now the issue is gone.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [January 2, 2021, 1:31am UTC](https://discuss.tryton.org/t/desktop-client-issue-with-editable-tree-line/3513/4 "2021-01-02T01:31:19Z")

</div>

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