# When are product stocks updated?

**URL:** <https://www.dolibarr.org/forum/t/when-are-product-stocks-updated/24278>\
**Category:** PM modules\
**Tags:** v18, Help, Linux\
**Created:** [September 11, 2023, 6:12pm UTC](https://www.dolibarr.org/forum/t/when-are-product-stocks-updated/24278 "2023-09-11T18:12:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [September 11, 2023, 6:12pm UTC](https://www.dolibarr.org/forum/t/when-are-product-stocks-updated/24278/1 "2023-09-11T18:12:44Z")

</div>

When are product stock actually being deducted, depleted, subtracted, …

I created a product, added some stock, then I created:  
proposal - no stock change - as expected  
order - no stock change - sort of expected  
invoice - no stock change - change sort expected  
shipment - no stock change - change definitely expected

So when are stock actually changed?

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [September 11, 2023, 6:16pm UTC](https://www.dolibarr.org/forum/t/when-are-product-stocks-updated/24278/2 "2023-09-11T18:16:54Z")

</div>

Got it. This post told me I had to close the shipment, validation is not enough, and that did indeed deduct the stock 🙂

> [@Composite products and virtual products](https://www.dolibarr.org/forum/t/composite-products-and-virtual-products/17155/5):
>
> In them screenshots, that shipmenmt is validated. Have you tried ‘closing’ it? I think the number change might happen after you CLOSE it

---

<div class="post-metadata">

**Author:** ![pcbleu](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/pcbleu/32/3120_2.png) [@pcbleu](https://www.dolibarr.org/forum/u/pcbleu)\
**Post date:** [September 11, 2023, 9:25pm UTC](https://www.dolibarr.org/forum/t/when-are-product-stocks-updated/24278/3 "2023-09-11T21:25:58Z")

</div>

Hello 🙂

in Setup - Module/Applications, select “Stock” and access to the setup of this module  
in the “Miscellaneous” tab, you access to this screen where you can setup stok increase or decrease as you want…

 ![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/0/0ec1eb361808b30afb5612905cfa4264d8e813f2.png)

Good continuation

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [September 12, 2023, 9:06pm UTC](https://www.dolibarr.org/forum/t/when-are-product-stocks-updated/24278/4 "2023-09-12T21:06:09Z")

</div>

thank you @pcbleu this is even better 🙂
