OdooWiki OCA HUB

Stock Change Price At Date

stock_change_price_at_date folder_open OCA/stock-logistics-workflow open_in_new
Uncategorised License: AGPL-3

This module allows to fill in a date in the standard wizard that changes product price. That helps accountant to add some product past values

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds a date field to the standard 'Change Standard Price' wizard so accountants can set a product's cost price as of a past date, and prevents changing the price when later posted stock moves already exist.

This module extends the standard Odoo wizard used to change a product's standard (cost) price. It adds a new Date field to that wizard, placed right after the new price field.

What users can do: - Enter a past date when changing a product's standard price, so the accounting entries created by the change are dated on that day instead of today. - Leave the date empty to use today's date as before.

Business rules and automatic behaviour: - The chosen date cannot be in the future; if it is, Odoo shows the error 'The chosen date should be today or in the past!'. - When a past date is used, the system checks whether the product already has posted stock moves dated after that date. If it does, the standard price is not changed for that product, to avoid rewriting history. - The date entered in the wizard is passed to the accounting entries created by the price change, so they are recorded on the chosen date.

Where it appears: - In the standard 'Change Standard Price' wizard (Inventory / product cost price change), a new Date field is added.

Areas touched: - The wizard stock.change.standard.price, the product model product.product and accounting entries account.move are modified to support the date and the safety check.

Depends on

stock_account
Models and fields (3)
  • account.move · extends an existing model
  • product.product · extends an existing model
  • stock.change.standard.price · extends an existing modeldate

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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-workflow.

terminal Installation and usage

OCA documentation · Odoo 12.0

On product form (with Inventory Valuation = Automated), click on 'Update Cost' and fill in price and date.

The account moves created take into account this date.

No verified information in OCA: Installation, Configuration.

info

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.