Skip to main content

Stock Disallow Negative

Beta License: AGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runbot

By default, Odoo allows negative stock. The advantage of negative stock is that, if some stock levels are wrong in the ERP, you will not be blocked when validating the picking for a customer… so you will still be able to ship the products on time (it’s an example !). The problem is that, after you forced the stock level to negative, you are supposed to fix the stock level later via an inventory ; but this action is often forgotten by users, so you end up with negative stock levels in your ERP and it can stay like this forever (or at least until the next full inventory).

If you disallow negative stock in Odoo with this module, you will be blocked when trying to validate a stock operation that will set the stock level of a product and/or location as negative. So you will have to fix the wrong stock level of that product without delay, in order to validate the stock operation in Odoo…you can’t forget it anymore !

Table of contents

Configuration

By default, the stockable products will not be allowed to have a negative stock. If you want to make some exceptions for some products, product categories or locations, you can activate the option Allow Negative Stock:

For products:

  1. Go to Inventory / Master Data / Products and in the tab General Information activate this option.

For product categories:

  1. Go to Inventory / Configuration / Products / Product Categories and activate this option.

For individual locations:

  1. Go to Inventory / Configuration / Settings and activate the option Storage Locations.

  2. Go to Inventory / Configuration / Warehouse Management / Locations and activate the option the option Allow Negative Stock for the locations you choose.

Usage

When you validate a stock operation (a stock move, a picking, a manufacturing order, etc.) that will set the stock level of a stockable product as negative, you will be blocked by an error message. The consumable products can still have a negative stock level.

Changelog

11.0.1.1.0 (2018-12-13)

  • Add the ability to allow negative stock for individual stock locations.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Akretion

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/stock-logistics-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo11-addon-stock-no-negative 11.0.1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo11-addon-stock-no-negative 11.0.1.1.1
File Interpreter ABI Platform Actions
odoo11_addon_stock_no_negative-11.0.1.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for odoo11_addon_stock_no_negative-11.0.1.1.1-py2.py3-none-any.whl

Release files / odoo11_addon_stock_no_negative-11.0.1.1.1-py2.py3-none-any.whl

Download URL odoo11_addon_stock_no_negative-11.0.1.1.1-py2.py3-none-any.whl
Size 23.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c954d7cac35b6a3c5d71a361bb204135c19e88f2651f3839effa7811d40c6cff
BLAKE2b-256 checksum
How to use checksums
7b297b7e76dc5c80bb8b1aa54acf000c0c4b8509f87de675d3a5451a2238eb4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

Security for odoo11-addon-stock-no-negative 11.0.1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page