# Stock movements with serial numbers

**URL:** <https://discuss.tryton.org/t/stock-movements-with-serial-numbers/7122>\
**Category:** User\
**Created:** [March 27, 2024, 1:08pm UTC](https://discuss.tryton.org/t/stock-movements-with-serial-numbers/7122 "2024-03-27T13:08:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dortizmunoz](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/a88e4f/32.png) [@dortizmunoz](https://discuss.tryton.org/u/dortizmunoz)\
**Post date:** [March 27, 2024, 1:08pm UTC](https://discuss.tryton.org/t/stock-movements-with-serial-numbers/7122/1 "2024-03-27T13:08:24Z")

</div>

How do I have to do so that when I make a purchase or make a sale of a product that has a serial number, it asks me for it in both cases?

---

<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:** [March 27, 2024, 1:37pm UTC](https://discuss.tryton.org/t/stock-movements-with-serial-numbers/7122/2 "2024-03-27T13:37:41Z")

</div>

You must set it as lot required and use [stock\_lot\_unit](https://docs.tryton.org/latest/modules-stock-lot-unit/index.html) module to force the usage of the lot as serial number

---

<div class="post-metadata">

**Author:** ![dortizmunoz](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/a88e4f/32.png) [@dortizmunoz](https://discuss.tryton.org/u/dortizmunoz)\
**Post date:** [March 27, 2024, 2:40pm UTC](https://discuss.tryton.org/t/stock-movements-with-serial-numbers/7122/3 "2024-03-27T14:40:52Z")

</div>

Of course Sergi, that’s what I’ve tried.

I have the module installed and I have said in the product:

- Mandatory Lot: Customer, Supplier
- Lot UDM: Unit

But even having this when making a purchase, for example, it does not ask me for the serial number. I understand that something else must be missing for this to work.

---

<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:** [March 27, 2024, 3:34pm UTC](https://discuss.tryton.org/t/stock-movements-with-serial-numbers/7122/4 "2024-03-27T15:34:18Z")

</div>

Of course, the purchase and the sale module will never ask for a lot number.  
When you are ordering a product you do not know which serial number will be sent/received.

Lots and serial numbers are introduced in shipments when the goods are sent/received.

> [@dortizmunoz](#):
>
> Mandatory Lot: Customer, Supplier

If you want to keep the full traceability of the lots, I will recomend you to make the lot required for all location types.

---

<div class="post-metadata">

**Author:** ![dortizmunoz](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/a88e4f/32.png) [@dortizmunoz](https://discuss.tryton.org/u/dortizmunoz)\
**Post date:** [March 27, 2024, 4:02pm UTC](https://discuss.tryton.org/t/stock-movements-with-serial-numbers/7122/5 "2024-03-27T16:02:26Z")

</div>

Sergi, if I want to submit a supplier invoice that includes the serial numbers, how should I proceed to do it correctly?

---

<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:** [March 28, 2024, 8:18am UTC](https://discuss.tryton.org/t/stock-movements-with-serial-numbers/7122/6 "2024-03-28T08:18:22Z")

</div>

There si a relation between stock moves (where the serials are stored) and the invoice lines. That can be used to link the invoices with the serial numbers.
