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
    • Approvals
    • 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
    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. Stock
  3. NextERP - Stock Inventory v 19.0
  4. Sales Conditions FAQ

NextERP - Stock Inventory

by NextERP Romania https://www.nexterp.ro
Odoo
v 19.0 Third Party 14
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Discuss (mail)
Lines of code 476
Technical Name nexterp_stock_inventory
LicenseAGPL-3
Websitehttps://www.nexterp.ro
Versions 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Discuss (mail)
Lines of code 476
Technical Name nexterp_stock_inventory
LicenseAGPL-3
Websitehttps://www.nexterp.ro
Versions 19.0
NextERP - Stock Inventory icon

NextERP - Stock Inventory

Stock Inventory

v 19.0.1.0.0 Generic Modules/StockAGPL-3
  • Overview
  • Features
  • Configuration
  • How it works
  • Versions

Overview

Add a dedicated stock-inventory document on top of stock.quant so physical counts are grouped, dated and valued as a single record. The module introduces two new models — l10n.ro.stock.inventory (the header) and l10n.ro.stock.inventory.line (the counted lines) — with a form, list and search view, plus a reporting list / pivot / graph over the lines.

Each inventory is scoped to a set of internal locations and, optionally, to a list of products. Generating the lines fetches the corresponding stock.quant records, snapshots their on-hand quantity and value, and lets the operator enter the counted quantity. Validating the inventory applies the differences through stock.quant.action_apply_inventory() on the chosen accounting date and stores the resulting value difference per line.

The model also wires the inverse side: when quants are adjusted outside this workflow (standard Odoo screens, third-party imports), an l10n.ro.stock.inventory is created automatically, grouped by accounting date, so every stock adjustment ends up captured in a traceable document.


NextERP Romania

Built & supported by NextERP Romania

Romanian Odoo specialists, here for the long run — from implementation to localization and day-to-day production support.

10+
Years of Odoo experience per team member
80%+
of Romanian Localization maintained on Odoo Apps
19.0
Tracking every Odoo major release

What we do

⚙️

Odoo Solutions

From quick-start rollouts to multi-company deployments and custom modules built for your processes.

🇷🇴

Romanian Localization

SAF-T (D406), e-Factura, e-Transport, D300 / D390 / D394, ANAF integration, full chart of accounts and fiscal positions.

🛟

Our Services

Implementation, customization, migration, integration, support and consultancy — Romanian-speaking, SLA-backed.

Features

  • Inventory header model — l10n.ro.stock.inventory ties an accounting date, a company, internal locations and (optionally) a product list to a draft/done state, with an auto-computed name like Inventory - YYYY-MM-DD.
  • Counted-line model — l10n.ro.stock.inventory.line carries the counted quantity, on-hand quantity, difference, standard price, current value, post-validation value and value difference, each line linked to a stock.quant.
  • Quant uniqueness — a Postgres constraint unique(inventory_id, quant_id) blocks the same quant from appearing twice on the same inventory.
  • Generate / clear actions — Generate Inventory Lines fetches quants for the configured locations and products (creates missing quants on the fly), Clear Inventory Lines removes them and resets the flag.
  • Validate action — Validate Inventory calls stock.quant.action_apply_inventory() on each line with the inventory's accounting date, snapshots the new value, computes the per-line value difference and locks the document.
  • Reverse capture — the override of stock.quant.action_apply_inventory creates one l10n.ro.stock.inventory per accounting date when quants are adjusted outside this workflow, so manual quant edits are still archived as inventory documents.
  • Reporting — a list / pivot / graph view on l10n.ro.stock.inventory.line filterable by inventory, product, lot, location and accounting date, with quantity, inventory_quantity and inventory_diff_quantity as measures.
  • Manager-only menus — both menus live under the existing stock.menu_stock_adjustments / stock.menu_warehouse_report parents with groups="stock.group_stock_manager".

Configuration

The module ships with no settings page. All setup is master-data preparation and access-rights checks.

1. Install dependencies

The manifest depends on stock_account, so:

  • Inventory must be installed.
  • Accounting or another module pulling in stock_account must be installed so quants carry a value and a standard_price that the inventory lines can snapshot.

2. Grant access

The inventory header is editable by base.group_user, but both menu entries are restricted to stock.group_stock_manager. Go to Settings → Users & Companies → Users and put the operators who run inventories in the Inventory: Administrator group. Other users can view inventories only through their record URL.

Access rights for the two new models (read / write / create / unlink) are defined in security/ir.model.access.csv for stock.group_stock_user and stock.group_stock_manager.

3. Prepare locations

Open Inventory → Configuration → Warehouses Management → Locations and ensure every location that has to be counted is set to Usage: Internal. The inventory form filters location pickers by usage == 'internal' and silently ignores all others.

4. Prepare products (optional scoping)

Inventories can be limited to a product list. The form filters the many2many to products of type consu (which in 19.0 covers storable and non-storable goods). If no product is selected, all internal locations of the company are scanned.

5. Multi-company

company_id defaults to self.env.company and is propagated through related fields on the lines. Each company maintains its own inventories; quants of another company are not picked up when lines are generated.

6. Open the menus

After install the new entries are:

  • Inventory → Operations → Adjustments → Inventory Stock Adjustments — the header list and form (action action_open_stock_inventory).
  • Inventory → Reporting → Inventory Stock Line Adjustments History — list / pivot / graph over validated lines (action action_open_stock_inventory_line_history), filtered to state = done by default.

To install this module, you need to:

  • clone the branch 19.0 of the repository https://github.com/NextERP-Romania/odoo-community
  • add the path to this repository in your configuration (addons-path)
  • update the module list
  • search for "NextERP - Stock Inventory" in your addons
  • install the module

How it works

The flow is built around the l10n.ro.stock.inventory form. A single record represents one physical inventory: pick a scope, generate the lines from current stock, count, then validate.

1. Create an inventory

Go to Inventory → Operations → Adjustments → Inventory Stock Adjustments and click New:

  1. Accounting Date — defaults to today; the date the stock adjustments will be booked on.
  2. Locations — pick one or more internal locations to count. Leave empty to count every internal location of the company.
  3. Products — optionally restrict the inventory to a product list; leave empty to count every product on the selected quants.

Save the draft.

2. Generate the lines

Click Generate Inventory Lines. The wizard:

  • Searches stock.quant for the configured scope.
  • Skips quants that already have a line on this inventory (the action can be called multiple times while the inventory is in Draft).
  • Creates one line per quant, snapshotting On Hand Quantity, Counted Quantity, Difference, Standard Price and Value.
  • Sets inventory_quantity = 0 on quants that had no value, so the counter starts from a blank slate.

3. Adjust the count

In the Inventory Lines tab:

  • Edit Counted Quantity per line; Difference updates automatically through the related quant.
  • Add manual lines for product / location / lot combinations not yet in stock — the create override on the line model finds the matching stock.quant (or creates one with inventory_quantity = 0).
  • Click Clear Inventory Lines to wipe all lines and start over; the related quants' inventory_quantity is cleared as well.

4. Validate

Click Validate Inventory. The action:

  1. Sets the accounting date on each quant.
  2. Re-reads the final on-hand quantity, value and difference on each line.
  3. Calls stock.quant.action_apply_inventory() on the quant, posting the stock-account journal entries.
  4. Captures inventory_value (post-apply value) and inventory_diff_value on each line, then locks the document with State = Done.

5. Inverse capture from elsewhere

When users adjust quants directly from Inventory → Operations → Physical Inventory or via imports, the override on stock.quant.action_apply_inventory creates one l10n.ro.stock.inventory per accounting date involved, generates its lines from the affected quants and validates it immediately. Those documents appear in the same list as user-created ones, marked Done.

6. Reporting

Open Inventory → Reporting → Inventory Stock Line Adjustments History for a flat list of every counted line. The view supports list, pivot and graph layouts, with measures On Hand Quantity, Counted Quantity and Difference, grouped by inventory or state.

Versions

19.0.1.0.0 (2026-05-25)

  • Changelog tracking starts at this release.

Discover the NextERP suite

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

NE
NextERP - Account EDI Journalt
Accounting

NextERP - Account EDI Journal

NE
NextERP - Account Invoice Report
Accounting

NextERP - Account Invoice Report

NE
NextERP - Allow Debt Recovery Invoice
Invoicing

NextERP - Allow Debt Recovery Invoice

NE
NextERP - Allow Delete Last Invoice
Invoicing

NextERP - Allow Delete Last Invoice

NE
NextERP - Auto Create Sale Tasks

NextERP - Auto Create Sale Tasks

NE
NextERP - Conformity Certificate
Special

NextERP - Conformity Certificate

NE
NextERP - Inter Company
Base

This module helps to identify if a record is inter company transaction or not.

NE
NextERP - Inter Company Account
Accounting

This module helps to identify if an account move line and account move is inter company transaction or not.

NextERP Romania

Odoo implementation, customization, Romanian localization and long-term support since 2018.

nexterp.ro
All apps

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