Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
Lines of code | 74 |
Technical Name |
au_restrict_negative_stock |
License | LGPL-3 |
Website | https://mudassir.odoo |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) |
Lines of code | 74 |
Technical Name |
au_restrict_negative_stock |
License | LGPL-3 |
Website | https://mudassir.odoo |
🚀 Restrict Negative Stock in Odoo 17
Prevent negative stock and improve inventory accuracy
This module ensures that stock levels never fall below zero for stockable products in Odoo. It provides a flexible configuration to allow exceptions per product, product category, or location. Perfect for businesses with strict inventory control policies.
✨ Key Features
- ✅ Block stock operations that would result in negative stock.
- ✅ Allow exceptions using Allow Negative Stock on:
- 🔹 Individual Products
- 🔹 Product Categories
- 🔹 Specific Stock Locations
- ✅ Works seamlessly with:
- 📦 Deliveries & Pickings
- 🏭 Manufacturing Orders
- 🔄 Internal Transfers
- ✅ Consumable products are not affected.
- ✅ Simple configuration via Odoo Inventory Settings.
📸 Screenshots
Take a look at how the module works inside Odoo:
Product Category Configuration

Exception Warning - Negative Stock Blocked

Product View - Allow Negative Stock

⚙️ How to Configure
- Go to Inventory → Products → Enable Allow Negative Stock if required.
- Go to Inventory → Product Categories → Enable Allow Negative Stock for category exceptions.
- Go to Inventory → Locations → Enable Allow Negative Stock for specific warehouses/locations.
- Validate any stock operations — the system will block negative stock automatically.
📌 Compatibility & Support
- ✅ Odoo 17 Community
- ✅ Odoo 17 Enterprise
- 🌍 Multicompany & Multiwarehouse Supported
For customization or support, contact us at:
Email: mudassir.odoo@gmail.com
Website: https://mudassir.odoo
Please log in to comment on this module