Stock Account Inventory Force Date
This module allows to post an inventory adjustment using a past date.
If you use perpetual accounting, and standard cost method, the module will make sure that any future price changes are going to be revalued for the quantity that changed. The solution is not yet implemented for average or fifo costing.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Lets authorized users post inventory adjustments with a past date, and automatically revalues standard-cost products for the quantity change so accounting stays correct.
This module adds a "Force Inventory Adjustment Date" option to inventory adjustments, but only for users in the new "Force Inventory Adjustment Date" security group.
When the option is ticked on a draft inventory, the inventory date becomes editable and the accounting date follows it. The theoretical quantities shown on the inventory lines are then calculated as of that past date instead of today, so the adjustment reflects the stock that existed back then.
When the adjustment is posted, the stock moves and their accounting entries are dated to the chosen past date. For products using the standard cost method with real-time valuation, the module replays later standard-price changes for the adjusted quantity and creates the corresponding journal entries, using the "Standard Cost Change Offsetting Account" defined in the company settings. If that account is missing, posting is blocked with an error.
Company settings gain two fields: the offsetting account and a "Force Inventory Lock Date". If a lock date is set, no user can force an adjustment to a date earlier than it. The feature is not implemented for average or FIFO costing.
Depends on
Models and fields (5)
- stock.move · extends an existing model
- res.company · extends an existing modelforce_inventory_lock_date (Force Inventory Lock Date), standard_cost_change_account_id (Standard Cost Change Offsetting Account)
- stock.inventory · extends an existing modelforce_inventory_date
- stock.move.line · extends an existing model
- stock.inventory.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.