# Create initial stock moves with proteus on a remote server

**URL:** https://discuss.tryton.org/t/create-initial-stock-moves-with-proteus-on-a-remote-server/4545
**Category:** Developer
**Created:** [August 19, 2021, 7:52am UTC](https://discuss.tryton.org/t/create-initial-stock-moves-with-proteus-on-a-remote-server/4545 "2021-08-19T07:52:40Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)
#### Post date: [August 19, 2021, 9:34am UTC](https://discuss.tryton.org/t/create-initial-stock-moves-with-proteus-on-a-remote-server/4545/2 "2021-08-19T09:34:17Z")

</div>

I solve a first problem:

Model class in Proteus has not \_\_lt\_\_implemented.

[https://hg.tryton.org/proteus/file/tip/proteus/\_\_init\_\_.py#l792](https://hg.tryton.org/proteus/file/tip/proteus/ __init__.py#l792)

```auto
...
    def __lt__ (self, other):
        if isinstance(other, Model):
            return ((self. __class__. __name__ , self.id)
                  < (other. __class__. __name__ , other.id))
        return NotImplemented
...

```

Anyway, the key generated in my script is not the same as the warning key, so i still get an error and my moves are not done.

---

_[View the full topic](https://discuss.tryton.org/t/create-initial-stock-moves-with-proteus-on-a-remote-server/4545)._
