# How to Handle Reserved Stock and Prevent Overselling in Multi-Salesperson Scenario?

**URL:** <https://www.dolibarr.org/forum/t/how-to-handle-reserved-stock-and-prevent-overselling-in-multi-salesperson-scenario/30424>\
**Category:** Developing for Dolibarr\
**Tags:** Question, Windows, Help\
**Created:** [June 19, 2025, 12:31pm UTC](https://www.dolibarr.org/forum/t/how-to-handle-reserved-stock-and-prevent-overselling-in-multi-salesperson-scenario/30424 "2025-06-19T12:31:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yassine](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/y/c89c15/32.png) [@Yassine](https://www.dolibarr.org/forum/u/Yassine)\
**Post date:** [June 19, 2025, 12:31pm UTC](https://www.dolibarr.org/forum/t/how-to-handle-reserved-stock-and-prevent-overselling-in-multi-salesperson-scenario/30424/1 "2025-06-19T12:31:33Z")

</div>

Hello Dolibarr Community,

I hope you’re all doing well!

I’m working on a use case and would like your help or confirmation that I’m setting this up correctly in Dolibarr. Here’s the situation:

- I have around **100 units of a product** in stock.
- There are **more than 5 salespeople** (commercial agents) in my team.
- Sometimes, a **client makes a sales order (reservation)** for a large quantity, like 90 units.
- I want Dolibarr to **automatically reserve those 90 units** once the order is validated, so other salespeople **don’t accidentally sell more than what’s available**.
- If another salesperson tries to sell 100 units, the system should **warn them or block** the sale because only 10 units are actually available (after subtracting the reserved stock).

My goal is to **prevent overselling** and have clear visibility for the team on what is actually available to sell.

### ❓ My Questions:

1. Is it possible to configure Dolibarr so that **stock is reserved automatically when a sales order is validated**?
2. Can Dolibarr **block or warn** a user if they try to validate a sales order that exceeds the available (non-reserved) stock?
3. Do I need to use any specific modules or custom development to enforce this behavior?
4. Has anyone implemented this kind of setup successfully? Any advice or best practices?

Thanks a lot in advance for your help!

---

<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:** [June 20, 2025, 7:34pm UTC](https://www.dolibarr.org/forum/t/how-to-handle-reserved-stock-and-prevent-overselling-in-multi-salesperson-scenario/30424/2 "2025-06-20T19:34:41Z")

</div>

Go into home, setup, applications and modules, then search for stock. In there you can change when the stock are deducted
