OdooWiki OCA HUB

Product State History

product_state_history folder_open OCA/product-attribute open_in_new
Sales License: AGPL-3

This module allows you to store your product life-cycle history in order to retrieve statistics about it.

  • Product Form:
  • History Tree:
  • History Pivot:
  • History Report:

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Keeps a dated log of every product status change and lets you analyse it with a list, pivot view and a printable PDF report.

This module records the life cycle of your products. Each time the status of a product is changed, a new history line is created automatically with the product, the new status and the date and time of the change. Lines are stored in the product.state.history model and are ordered from the most recent to the oldest.

On the product form you get a "State History" button (visible to members of the Product State History Manager group) that opens the history of that product. The history screen can be shown as a list, a form or a pivot table, and the search view lets you filter by product, status and date, and group results by product or by status.

A "Product State Report" wizard asks for a pivot date and a product status, then prints a PDF report listing, for each product currently in that status, the history lines dated on or after the pivot date. The report shows the product code, product name, status and state date, and is printed in landscape orientation.

Regular users can read and create history lines; only managers can modify or delete them.

Depends on

Models and fields (4)
  • product.template · extends an existing model
  • product.state.history · new modelstate_date (Date), product_state_id (Status), product_template_id (Product)
  • product.state.history.wizard · new modelpivot_date, product_state_id (Product Status)
  • report.product_state_history.report_product_state_history · new model

Text generated by AI (DeepSeek) from reading the Odoo 14.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 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/product-attribute.

terminal Installation and usage

OCA documentation · Odoo 14.0
  • On each product form, you can access its state history through the 'State History' button.
  • A report is also accessible after having installed the sale related module.
  • Only the Product State History Manager is allowed to modify or delete an history entry.

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.