# Reorganization of the sales line: bug in gtk client?

**URL:** https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/848
**Category:** User
**Created:** [November 2, 2018, 8:19am UTC](https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/848 "2018-11-02T08:19:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [November 2, 2018, 8:19am UTC](https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/848/1 "2018-11-02T08:19:05Z")

</div>

Hi,

Tryton server version: 5.0.0  
Tryton client version: 5.0.1  
Python version: 3.5.3

When a try to move a sale line in sale in GTK Client, have the following error:

```
  File "/home/ccr/Documents/Adiczion/technique/.virtualenvs/Tryton-5.0/lib/python3.5/site-packages/tryton/gui/window/view_form/view/list.py", line 788, in drag_data_received
    data = json.loads(selection_data)
  File "/usr/lib/python3.5/json/ __init__.py", line 312, in loads
    s. __class__. __name__ ))

```

Do I have to open a bug?

* * *

Regards.

---

<div class="post-metadata">

### Author: ![fmorato](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/fmorato/32/109_2.png) [@fmorato](https://discuss.tryton.org/u/fmorato)
#### Post date: [November 2, 2018, 8:42am UTC](https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/848/2 "2018-11-02T08:42:46Z")

</div>

I got the same error when moving (drag and drop) items in a category tree. But didn’t explore it further.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [November 2, 2018, 8:58am UTC](https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/848/3 "2018-11-02T08:58:57Z")

</div>

I can not reproduce but I’m using python 3.7

---

<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: [November 2, 2018, 11:30am UTC](https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/848/4 "2018-11-02T11:30:48Z")

</div>

> [@2cadz](#):
>
> Do I have to open a bug?

It is always better to open a bug (but searching for existing before) than asking if you should.

---

<div class="post-metadata">

### Author: ![fmorato](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/fmorato/32/109_2.png) [@fmorato](https://discuss.tryton.org/u/fmorato)
#### Post date: [November 2, 2018, 1:23pm UTC](https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/848/5 "2018-11-02T13:23:26Z")

</div>

Opened [Error with drag and drop to reorder on category tree view. (#7833) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue7833).

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [November 2, 2018, 1:29pm UTC](https://discuss.tryton.org/t/reorganization-of-the-sales-line-bug-in-gtk-client/848/6 "2018-11-02T13:29:32Z")

</div>

> [@ced](#):
>
> It is always better to open a bug (but searching for existing before) than asking if you should.

I asked the question here before to check if this pb was not already known or if it was not a bug but a bad configuration / use, but OK it’s noted.

Thanks [fmorato](https://discuss.tryton.org/u/fmorato) for opening bug 🙂
