# Stock consumption products

**URL:** <https://discuss.tryton.org/t/stock-consumption-products/4770>\
**Category:** User\
**Tags:** stock\
**Created:** [November 17, 2021, 2:21pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770 "2021-11-17T14:21:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![natalia.jove](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/n/e19adc/32.png) [@natalia.jove](https://discuss.tryton.org/u/natalia.jove)\
**Post date:** [November 17, 2021, 2:21pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/1 "2021-11-17T14:21:45Z")

</div>

A location cannot be inactive if is not empty. The problem is that the products that there are in locations are also consumption products.

On the other hand, the inventory process only takes “Goods” products.

If I want to deactivate a location where I have consumption products in there I cannot empty them with inventory process. How should I do it if I don’t want to do movements for each product?

---

<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 17, 2021, 2:38pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/2 "2021-11-17T14:38:08Z")

</div>

Hi Natalia,

I think you found a bug. Consumable products should be ignored when inactivating a location.

Could you please fill a bug on our tracker? Thanks

---

<div class="post-metadata">

**Author:** ![dave](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@dave](https://discuss.tryton.org/u/dave)\
**Post date:** [November 17, 2021, 3:55pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/3 "2021-11-17T15:55:02Z")

</div>

Just so you are aware, although the inventory process normally ignores consumable products, it is possible to manually add consumable products to an inventory. This would then let you zero them out so you can deactivate the location.

However, this still involves adding each of them to the inventory - one by one. Which is probably not much quicker than creating moves for each product.

---

<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 17, 2021, 6:41pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/4 "2021-11-17T18:41:38Z")

</div>

For the record [Consumable products should be ignored when inactivating a location (#10964) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue10964)

---

<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 17, 2021, 10:27pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/5 "2021-11-17T22:27:05Z")

</div>

Emtpying a locstion can be easly done in two steps:

1. Create an inventory and click the complete button
2. Confirm the invetory without entering any values but using the “Empty” value for empty quantity.

This is an easy way to fix the issue

---

<div class="post-metadata">

**Author:** ![dave](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@dave](https://discuss.tryton.org/u/dave)\
**Post date:** [November 17, 2021, 10:47pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/6 "2021-11-17T22:47:52Z")

</div>

I think you still need to manually add the consumable products to the inventory though, because the complete button doesn’t automatically add them? [https://hg.tryton.org/modules/stock/file/tip/inventory.py#l305](https://hg.tryton.org/modules/stock/file/tip/inventory.py#l305)

---

<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 17, 2021, 11:45pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/7 "2021-11-17T23:45:01Z")

</div>

You’re absolutly right. Consumable products should be added manually. We can just leave the quantity as blank which will speed up the encoding a little bit.

---

<div class="post-metadata">

**Author:** ![Cristina0319](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@Cristina0319](https://discuss.tryton.org/u/Cristina0319)\
**Post date:** [June 16, 2022, 1:52pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/8 "2022-06-16T13:52:21Z")

</div>

Hello, I hope you are well,  
I would like to make a query, regarding this case, is there no possibility that when I hit “Complete” the inventory, it will bring me the consumable products?

---

<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 16, 2022, 4:25pm UTC](https://discuss.tryton.org/t/stock-consumption-products/4770/9 "2022-06-16T16:25:15Z")

</div>

If you want that then you should not set product as consumable.
