Product Pricelist Product Price History

product_pricelist_product_price_history
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/18.0/product_pricelist_product_price_history
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), APSL-Nagarro
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), APSL-Nagarro
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Andrea Stirpe, oca-ci, Antoni Marroig Campomar
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module provides an automated audit trail for price changes across all product pricelists. It tracks modifications to fixed prices, capturing the previous and new values, the user responsible, and the timestamp. It includes a dedicated view for managers to review pricing trends and a bulk-action feature to print product labels immediately after price adjustments.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_pricelist_item_history_list product.pricelist.item.history.list product.pricelist.item.history list New
view_pricelist_item_history_search product.pricelist.item.history.search product.pricelist.item.history search New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (7)
  • active Boolean
    default=True
  • change_date Datetime
    default=fields.Datetime.now readonly=True
  • new_price Float
    readonly=True
  • old_price Float
    readonly=True
  • pricelist_id Many2one → product.pricelist
    readonly=True required=True string='Pricelist' args: 'product.pricelist'
  • product_id Many2one → product.product
    readonly=True required=True string='Product' args: 'product.product'
  • user_id Many2one → res.users
    default=<expr> readonly=True string='User' args: 'res.users'
Public methods (1)
  • action_open_label_layout(self)