Skip to main content

Disallow negative stock levels by default

Project description

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

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

14.0.1.0.0 (2020-12-14)

  • [14.0][MIG] stock_no_negative

13.0.1.0.0 (2020-01-03)

  • [13.0][MIG] stock_no_negative Remove all decorators @api.multi

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 to smash 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo14_addon_stock_no_negative-14.0.1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_stock_no_negative-14.0.1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e9b340d26414505817b585b28f97b53c6ec8eec455ba724514f524b49845603
MD5 6237983501e63ad4e5ecf5df64fcf607
BLAKE2b-256 b54c2e42c4b2883b69ad74a314deab006a1b92ced3a9e0a5c809dbfdaadab0c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page