Product State History

product_state_history
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/14.0/product_state_history
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, Sébastien Alix, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_state
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - sale
    - sales_team
    - payment
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
product_state_history_form_view product.state.history.form (in product_state_history) product.state.history form New
product_state_history_pivot_view product.state.history.pivot (in product_state_history) product.state.history pivot New
product_state_history_search_view product.state.history.search (in product_state_history) product.state.history search New
product_state_history_tree_view product.state.history.tree (in product_state_history) product.state.history tree New
product_state_history_wizard_form_view product.state.history.wizard.form (in product_state_history) product.state.history.wizard form New
product_template_form_view product.template.form (in product_state_history) product.template xpath Inherits product.product_template_only_form_view
report_product_state_history report_product_state_history ir.ui.view qweb New
Models touched (4)

New fields (3)
  • product_state_id Many2one → product.state
    comodel_name='product.state' index=True required=True string='Status'
  • product_template_id Many2one → product.template
    comodel_name='product.template' index=True ondelete='cascade' required=True string='Product'
  • state_date Datetime
    default=<expr> index=True required=True string='Date'
Public methods (0)

No public methods.

New fields (2)
  • pivot_date Datetime
    default=<expr>
  • product_state_id Many2one → product.state
    comodel_name='product.state' required=True string='Product Status'
Public methods (1)
  • print_report(self)

New fields (0)

No new fields.

Public methods (2)
  • action_product_state_history(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/10.0/product_state_history
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_state
odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
product_state_history_form_view product.state.history.form (in product_state_history) product.state.history form New
product_state_history_pivot_view product.state.history.pivot (in product_state_history) product.state.history pivot New
product_state_history_search_view product.state.history.search (in product_state_history) product.state.history search New
product_state_history_tree_view product.state.history.tree (in product_state_history) product.state.history tree New
product_state_history_wizard_form_view product.state.history.wizard.form (in product_state_history) product.state.history.wizard form New
product_template_form_view product.template.common.form product.template xpath Inherits product.product_template_form_view
report_product_state_history report_product_state_history ir.ui.view qweb New
Models touched (4)

New fields (3)
  • product_state Selection
    index=True required=True selection=[('draft', 'In Development'), ('sellable', 'Normal'), ('end', 'End of Lifecycle'), ('obsolete', 'Obsolete')] string='Status'
  • product_template_id Many2one → product.template
    comodel_name='product.template' index=True ondelete='cascade' required=True string='Product'
  • state_date Datetime
    default=<expr> index=True required=True string='Date'
Public methods (0)

No public methods.

New fields (2)
  • pivot_date Datetime
    default=<expr>
  • product_state Selection
    required=True selection=[('draft', 'In Development'), ('sellable', 'Normal'), ('end', 'End of Lifecycle'), ('obsolete', 'Obsolete')] string='Product Status'
Public methods (1)
  • print_report(self)
    @api.multi

New fields (1)
  • state Selection
    inverse='_inverse_state_history' track_visibility='onchange'
Public methods (1)
  • action_product_state_history(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • render_html(self, docids, data=None)
    @api.model