Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Inventory
  3. No Negative Stock v 19.0
  4. Sales Conditions FAQ

No Negative Stock

by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.ro
Odoo
v 19.0 Third Party 4293
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
No Negative Stock

No Negative Stock

Prevent stock quantities from going below zero

Odoo 19.0 Inventory/Inventory EN · RO · ES Odoo.sh • On-premise OPL-1
✓ 40 automated tests
87% code coverage
★
Did this module help you? It is free, built and maintained by the Terrabit developers. If it saved you time, a rating on this page is the best way to say thanks — and it helps other Odoo users find it too. Thank you for your support!
  • Overview
  • Configuration
  • Usage
Overview

By default, Odoo lets a transfer be validated even when the stock is not there, and the quantity on hand quietly goes below zero. The error surfaces weeks later, at the next inventory count. This module stops the move at validation instead, and tells the user what is actually left in the location.

  • Blocks negative stock at validation
    A transfer that would take an internal location below zero cannot be validated.
  • Clear message
    The user sees the product, the location and the quantity that would remain, and is pointed to adjust the quantities or correct the stock.
  • Exceptions per location
    Allow negative stock on the locations where you need it, such as a production floor or a transit area.
  • Checked on the physical stock
    The quantity on hand in the location, per lot, package and owner, not the forecast.
  • Safe for multi-line transfers
    Several lines of the same product in one validation are added up, so they cannot overdraw the stock together.
  • Serial numbers, strict or by total
    Per location, check serial-tracked products on the serial number of the line or on the total of the location.
  • Point of Sale friendly
    Goods sold at the register have already left the shop, so Point of Sale receipts go through by default; each bypass is logged and the shortfall stays visible as negative stock to correct.
  • Only products with tracked stock
    Consumables without Track Inventory are not checked, since Odoo keeps no stock for them.
  • Company setting
    Turn the rule on or off separately for each company.
Configuration
  1. Go to Inventory > Configuration > Settings, section Traceability, and enable No negative stock. The setting applies to the current company; in a multi-company database, enable it on each company.

  2. Right below it, decide on Allow negative stock from Point of Sale (enabled by default). Point of Sale validates the delivery of a receipt in the background and does not show the cashier an error, so a refused delivery would only leave the stock undeducted:

    • enabled: a receipt's delivery is validated even when it takes the location below zero; the bypass is logged and the location shows negative stock to correct;
    • disabled: the rule applies to receipts as well, and their deliveries stay unvalidated until the stock is there.

The setting has no effect when Point of Sale is not installed.

No negative stock and Allow negative stock from Point of Sale in Settings
1 No negative stock and Allow negative stock from Point of Sale in Settings
  1. Enable Storage Locations (section Warehouse) to see the location options. Open Inventory > Configuration > Locations and, on the internal locations where stock may go below zero (transit, work in progress), check Allow Negative Stock.

  2. For products tracked by serial number, Check Serial No. (enabled by default) checks the serial number of the line. Uncheck it on a location to check the total of all serial numbers there; reservation then also ignores the serial number.

Location form with Allow Negative Stock and Check Serial No.
2 Location form with Allow Negative Stock and Check Serial No.
  1. Before enabling the rule on an existing database, review the negative positions (Inventory > Reporting > Locations, filter Negative Stock): record the missing receipts or transfers first, and use an inventory adjustment only for the real differences. Negative positions left in place block every outgoing move from them.
Usage

Work with transfers as usual. The check runs when a transfer is validated, on every line that takes stock out of an internal location, and on all lines together.

  1. Prepare a transfer. In this example the location Raft A holds 1 unit of the product, and the transfer picks it twice, 1 unit per line, in Detailed Operations. Each line alone would fit; together they need 2 units.
Detailed Operations with two lines of 1 unit picked from Raft A, on a stock of 1 unit
1 Detailed Operations with two lines of 1 unit picked from Raft A, on a stock of 1 unit
  1. Validate. The lines are added up per location, lot, package and owner, after converting the units of measure. When the location would go below zero, validation stops with an Invalid Operation message naming the product, the location and the quantity that would remain (here -1). Nothing is moved: lower the quantities, pick from another location or lot, or validate the missing receipt first.
Invalid Operation dialog: you have chosen to avoid negative stock, with the product, the remaining quantity and the location
2 Invalid Operation dialog: you have chosen to avoid negative stock, with the product, the remaining quantity and the location
  1. Check the stock positions. Inventory > Reporting > Locations shows the positions the check compares against: one row per product, location, lot or serial number, package and owner. The check uses On Hand, not Available: a line on one lot, package or owner cannot use the stock of another.
Stock positions per location, lot, package and owner
3 Stock positions per location, lot, package and owner
  1. Locations allowed to go negative. On a location with Allow Negative Stock, the same transfer is validated and the position stays negative. Incoming moves are never checked, only the source location of a move.
Negative position on WH/Stock/Tranzit, the location that allows negative stock
4 Negative position on WH/Stock/Tranzit, the location that allows negative stock
  1. Serial numbers. With Check Serial No. unchecked on the location, the stock is checked on the total of all serial numbers there: two lines on two serial numbers pass when the location holds two units. Note that a line on a serial number that is not in the location also passes when the total is enough; that serial number then goes to -1 and has to be corrected by an inventory adjustment.
Done transfer from Raft Serii, Detailed Operations on SN-1001 and SN-1002
5 Done transfer from Raft Serii, Detailed Operations on SN-1001 and SN-1002
  1. Bring a negative position back to zero. Once the cause is found and the missing documents are recorded, open Inventory > Operations > Physical Inventory, filter Negative Stock, enter the counted quantity (0 when the shelf is empty) and click Apply. An increase is an incoming move and is not blocked; a count that would take the stock below zero is blocked like any other outgoing move.
Physical Inventory on a negative position: On Hand -5, Counted 0, Difference +5, before Apply
6 Physical Inventory on a negative position: On Hand -5, Counted 0, Difference +5, before Apply

Not checked: products without Track Inventory, non-internal locations, and Point of Sale receipts while Allow negative stock from Point of Sale is enabled. Every Point of Sale bypass is written to the server log with the transfer, product, quantity and location.

600+
Modules published on Odoo Apps
Silver
Odoo Partner — implementation & support

Need help getting started?

Our 600+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.

Questions about this module, or need it adapted to your processes? Write to us — the developers who build it will answer.

Terrabit support →

More apps by Terrabit

Other modules from the same publisher, built to work together. All apps →

IL Import Lines in Transfers and Inventory Inventory/Inventory

Load transfer moves and inventory counts from an XLSX, XLS, CSV or TXT file

RN Replenish Negative Stock Inventory/Inventory

Refill negative stock from another location in one click

PS Product Secondary UoM Inventory/Inventory

Product specific conversion factors between units of measure (SAP MARM style)

SC Stock Consumption Report Inventory/Inventory

Monthly report of the consumption vouchers by store and purpose, with XLSX export

FD Free Disassembly Inventory/Inventory

Disassembly report without bill of materials, with cost allocation

FD Free Disassembly - Bill of Materials Inventory/Inventory

Fill a disassembly report from a bill of materials

WM Warehouse Map Inventory/Inventory

Visual warehouse map: navigate locations by hierarchy (levels, lines, racks, shelves, cells)

DE Deltatech Tools

Shared base for the Deltatech suite: common technical extensions used by all modules

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Discuss (mail)
Lines of code 156
Technical Name deltatech_stock_negative
LicenseOPL-1
Websitehttps://www.terrabit.ro
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with