Purchase Stock Date Done Revaluation
This module revalues a not-yet-billed incoming purchase receipt when its effective date (date_done) changes, so the inventory value reflects the exchange rate of the new date.
It is only relevant for purchase orders in a foreign currency (a currency other than the company currency): there, the receipt value in company currency depends on the FX rate at the receipt date, so moving that date should move the value. For company-currency purchases it has no effect.
It is meant to be used together with stock_date_done, which lets users set/edit the effective date (date_done) of transfers and scraps — before validation and, permission-gated, on done records — and propagates it to the stock moves. It does not depend on it, though: it operates on the native date_done / move.date and Odoo's standard valuation, so you can install either module on its own or both together.
Once a vendor bill is posted, the bill governs the value and this module steps aside — no value is pinned.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0When the effective date of an incoming purchase receipt changes, this module recalculates the inventory value of that receipt, as long as the vendor bill has not yet been posted.
This module changes how Odoo values incoming purchase receipts when their effective date is moved.
- It watches stock moves linked to a purchase order line. When the move date is changed, it checks whether the move is done, is an incoming or dropship move, belongs to a purchase order line, and has no posted vendor bill yet.
- If all those conditions are met, it recalculates the stock valuation of that move, so the inventory value reflects the exchange rate of the new date.
- This matters mainly for purchases in a foreign currency: the value in company currency depends on the exchange rate on the receipt date, so changing that date should change the value.
- For purchases already billed (a posted vendor bill or refund exists on the purchase line), nothing is recalculated, so accounting stays consistent.
- For purchases in the company currency, the recalculation has no practical effect.
It works on the stock.move model and relies on Odoo's standard stock valuation. It does not add menus, buttons or reports of its own; the date change is made through the standard transfer or move screens, or through a companion module that exposes the effective date. No scheduled jobs or emails are added.
Depends on
Models and fields (1)
- stock.move · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.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 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/purchase-workflow.
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.