# Cannot reverse a stock move

**URL:** https://discuss.tryton.org/t/cannot-reverse-a-stock-move/4307
**Category:** User
**Tags:** stock
**Created:** [June 10, 2021, 3:49pm UTC](https://discuss.tryton.org/t/cannot-reverse-a-stock-move/4307 "2021-06-10T15:49:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rvong](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/3bc359/32.png) [@rvong](https://discuss.tryton.org/u/rvong)
#### Post date: [June 10, 2021, 3:49pm UTC](https://discuss.tryton.org/t/cannot-reverse-a-stock-move/4307/1 "2021-06-10T15:49:22Z")

</div>

How do I reverse an initial stock move? I have a list of items with their quantity and cost that I enter to the system by creating a series of initial stock move. These moves have the **from location** = **lost and found** and **to location** = **Storage**. I click on **Do** and everything is saved as expected. However, due to an inventory error, one of the items in the initial list has its quantities off by 2 units, hence I would like to reverse the initial stock move and enter the correct value again.

I tried create a move that has the **from** and **to** locations reversed, but the **Do** button is grayed out. I tried using a negative number on quantity, but this throws an exception. So, how do I reverse this stock move?

---

<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: [June 10, 2021, 3:56pm UTC](https://discuss.tryton.org/t/cannot-reverse-a-stock-move/4307/2 "2021-06-10T15:56:32Z")

</div>

> [@rvong](#):
>
> These moves have the **from location** = **lost and found** and **to location** = **Storage**.

First this is the wrong way to setup initial stock, see [Setup — Tryton module for stock and inventory](https://docs.tryton.org/projects/modules-stock/en/latest/setup.html#setting-initial-stock-levels)

> [@rvong](#):
>
> I tried create a move that has the **from** and **to** locations reversed, but the **Do** button is grayed out.

To use the “Do” button the “From” location must not be a location that requires assignation like the storage location. For that you need to use a shipment.  
But if you want to move product’s quantities to lost and found (which is the wrong location for initial stock), you can make an inventory.

---

<div class="post-metadata">

### Author: ![rvong](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/3bc359/32.png) [@rvong](https://discuss.tryton.org/u/rvong)
#### Post date: [June 10, 2021, 4:54pm UTC](https://discuss.tryton.org/t/cannot-reverse-a-stock-move/4307/3 "2021-06-10T16:54:14Z")

</div>

> [@ced](#):
>
> But if you want to move product’s quantities to lost and found (which is the wrong location for initial stock), you can make an inventory.

Using the inventory method will work but will generate account moves adjusting the error, which is less clean, but I guess, it is my only choice.

Regarding to your comment

> [@ced](#):
>
> To use the “Do” button the “From” location must not be a location that requires assignation like the storage location. For that you need to use a shipment.

I am curious on how can I distinguish a location that required assignation vs one that does not?

---

<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: [June 10, 2021, 8:08pm UTC](https://discuss.tryton.org/t/cannot-reverse-a-stock-move/4307/4 "2021-06-10T20:08:11Z")

</div>

> [@rvong](#):
>
> I am curious on how can I distinguish a location that required assignation vs one that does not?

‘view’ and ‘storage’ requires assignation.

---

<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: [July 10, 2021, 8:08pm UTC](https://discuss.tryton.org/t/cannot-reverse-a-stock-move/4307/5 "2021-07-10T20:08:25Z")

</div>

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