Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Sales (sale_management) • Discuss (mail) |
Lines of code | 97 |
Technical Name |
eg_sale_product_stock_restrict |
License | OPL-1 |
Website | https://www.inkerp.com/ |
Versions | 14.0 15.0 16.0 17.0 18.0 |



Sale Product Stock Restriction
The Sale Product Stock Restriction module prevents users from confirming sale orders when the ordered quantity exceeds the available stock. If a product is out of stock or the quantity ordered is greater than the available stock, the system will restrict the order confirmation, ensuring accurate inventory management.
Highlight Sale Product Stock Restriction
Restricts sale orders if the ordered quantity exceeds available stock
Order lines with insufficient stock are highlighted in red
The feature can be enabled or disabled from the Sale Configuration settings

Features
Enable or Disable from Sale Configuration:
Enable or disable the stock restriction feature from the Sale Configuration settings.
Prevent Sale Order Confirmation for Low Stock:
Sale orders cannot be confirmed if any productâs stock is lower than the ordered quantity.
Red Highlight for Low Stock Order Lines:
Order lines are highlighted in red when the ordered quantity exceeds available stock.
Screenshot

1) Setting View:
The Sale Configuration settings page where the stock restriction feature can be enabled or disabled.
Navigation : Settings → Sale → Restrict Low Product Stock

2) Out-of-Stock Warning:
In the Sales Quotations view, the order lines turn red when the ordered quantity exceeds the available stock, indicating out-of-stock products.
Navigation : Sales → Orders → Quotations

3) Attempting to Confirm:
User attempts to confirm the sale order, but the system prevents confirmation due to insufficient stock.

4) Low Stock Warning:
A warning message appears when trying to confirm an order with insufficient stock.

User Guide
Suggested Products
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module