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
    • Estate 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. Inventory
  3. Historical Stock Quantity Adjustment v 19.0
  4. Sales Conditions FAQ

Historical Stock Quantity Adjustment

by Ahmed Nour https://www.yourwebsite.com
Odoo

$ 48.90

v 19.0 Third Party
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 • Discuss (mail)
• Inventory (stock)
Lines of code 893
Technical Name an_backdated_inventory
LicenseLGPL-3
Websitehttps://www.yourwebsite.com
Versions 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Inventory (stock)
Lines of code 893
Technical Name an_backdated_inventory
LicenseLGPL-3
Websitehttps://www.yourwebsite.com
Versions 17.0 18.0 19.0

Historical Stock Quantity Adjustment

View and correct stock quantities at any past date with automatic future move consideration

Odoo 19.0

What Makes This Module Different?

1
Get Historical Qty

Calculate exact stock quantity at any past date

2
Correct It

Set the quantity that should have been at that date

3
See Today's Impact

Auto-calculates effect on current stock (considers future moves)

The Problem This Solves

Common Scenario: It's January and you discover your December 31st closing stock was wrong. You need to correct the historical quantity, but standard Odoo inventory adjustments only work with current dates.

The Historical Stock Quantity Adjustment module solves this by:

  • Calculating the exact stock quantity at any past date - Not today's quantity, but what it was (or should have been) on that specific date
  • Allowing you to correct that historical quantity - Set the correct value that should have been recorded
  • Automatically considering moves after that date - Shows you "Today Qty After" which accounts for all stock movements that happened between the adjustment date and today
Historical Stock Quantity Adjustment List View

Main list view showing historical quantities and their impact on today's stock

How It Works - Example

Scenario: You want to correct stock for Product X at Location A on December 31, 2024

Field Value Meaning
Adjustment Date 31/12/2024 The historical date you want to correct
Current Qty 100 Calculated stock at 31/12/2024 (based on moves up to that date)
Target Qty 120 What the stock SHOULD have been on 31/12/2024
Difference +20 The adjustment needed (auto-calculated)
Today Qty 80 Current stock today (includes moves after 31/12)
Today Qty After 100 What today's stock will be after applying (+20)

Result: A backdated stock move for +20 units is created on 31/12/2024, and your current stock automatically increases from 80 to 100.

Load by Location Wizard

Load by Location wizard - bulk load all products from a location

Key Features

Historical Quantity Calculation

Accurately calculates what stock quantity was at any past date by analyzing all stock moves up to that date.

Future Move Consideration

Shows "Today Qty After" - automatically factors in all moves that happened AFTER your adjustment date.

Backdated Records

Creates stock moves, journal entries, and valuation layers with the historical date for proper accounting.

Bulk Operations

Load all products from a location or all internal locations. Apply adjustments to multiple products at once.

Adjustment Form View

Form view with real-time calculations

What Gets Created (All Backdated)

Record Type Description
Stock Move Created with your adjustment date (end of day)
Stock Move Line With lot/serial tracking if applicable
Stock Quant Updated quantity on hand
Stock Valuation Layer With backdated timestamp for inventory value
Journal Entry Accounting entry with the historical date
Stock Move Created

Stock move created with the historical date

Journal Entry Created

Journal entry with backdated date

How to Use

Method 1: Individual Adjustment

  1. Go to Inventory > Operations > Historical Adjustments
  2. Click New
  3. Select Product, Location, and Adjustment Date
  4. The system calculates Current Qty (stock at that date)
  5. Enter Target Qty (what it should have been)
  6. Review Today Qty After (impact on current stock)
  7. Click Apply Adjustment

Method 2: Bulk Load by Location

  1. Click Load by Location button
  2. Select Adjustment Date (defaults to Dec 31 of previous year)
  3. Choose Location or check All Internal Locations
  4. Click Load Products then Create Adjustments
  5. Set target quantities and apply
Tip: The adjustment date defaults to December 31st of the previous year - perfect for year-end inventory corrections.
Stock Valuation Layer

Stock valuation layer with backdated timestamp

Perfect For

Year-End Closing

Correct December 31st stock quantities after discovering discrepancies in January

Audit Adjustments

Make corrections on the exact date required by auditors

POS Session Delays

Fix stock when POS sessions close after midnight but sales were from the previous day

Data Migration

Set opening balances on historical dates during system migrations

Technical Details

Timezone Handling

Stock moves are created at end of day (23:59:59) in your user's timezone, then converted to UTC. This ensures proper period-end reporting.

Dependencies

stock, stock_account, mail

Access Rights

Stock Users: Read only | Stock Managers: Full access

Support

  • Author: Ahmed Nour
  • Version: 19.0.1.0.0
  • License: LGPL-3

© 2025 Ahmed Nour - Historical Stock Quantity Adjustment for Odoo 19

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 or have a question related to your purchase, please use the support page.
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