Purchase order line price history

purchase_order_line_price_history
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/15.0/purchase_order_line_price_history
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_price_history_view_form purchase.order.line.price.history.view.form purchase.order.line.price.history form New
Models touched (2)

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the purchase history' string='Include commercial entity'
  • include_rfq Boolean
    help="Include 'Requests for Quotation' lines in the purchase history" string='Include RFQ'
  • line_ids One2many → purchase.order.line.price.history.line
    comodel_name='purchase.order.line.price.history.line' inverse_name='history_id' readonly=True string='History lines'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' default=_default_partner_id string='Supplier'
  • product_id Many2one
    related='purchase_order_line_id.product_id'
  • purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' default=<expr> string='Purchase order line'
Public methods (0)

No public methods.

New fields (8)
  • history_id Many2one → purchase.order.line.price.history
    comodel_name='purchase.order.line.price.history' string='History'
  • order_id Many2one
    related='purchase_order_line_id.order_id'
  • partner_id Many2one
    related='purchase_order_line_id.partner_id'
  • price_unit Float
    related='purchase_order_line_id.price_unit'
  • product_qty Float
    related='purchase_order_line_id.product_qty'
  • product_uom Many2one
    related='purchase_order_line_id.product_uom'
  • purchase_order_date_order Datetime
    related='purchase_order_line_id.order_id.date_order'
  • purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' string='Purchase order line'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/14.0/purchase_order_line_price_history
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSJairo Llopis, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Dhiren Joshi
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_price_history_view_form purchase.order.line.price.history.view.form purchase.order.line.price.history form New
Models touched (2)

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the purchase history' string='Include commercial entity'
  • include_rfq Boolean
    help="Include 'Requests for Quotation' lines in the purchase history" string='Include RFQ'
  • line_ids One2many → purchase.order.line.price.history.line
    comodel_name='purchase.order.line.price.history.line' inverse_name='history_id' readonly=True string='History lines'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' default=_default_partner_id string='Supplier'
  • product_id Many2one
    related='purchase_order_line_id.product_id'
  • purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' default=<expr> string='Purchase order line'
Public methods (0)

No public methods.

New fields (8)
  • history_id Many2one → purchase.order.line.price.history
    comodel_name='purchase.order.line.price.history' string='History'
  • order_id Many2one
    related='purchase_order_line_id.order_id'
  • partner_id Many2one
    related='purchase_order_line_id.partner_id'
  • price_unit Float
    related='purchase_order_line_id.price_unit'
  • product_qty Float
    related='purchase_order_line_id.product_qty'
  • product_uom Many2one
    related='purchase_order_line_id.product_uom'
  • purchase_order_date_order Datetime
    related='purchase_order_line_id.order_id.date_order'
  • purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' string='Purchase order line'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/13.0/purchase_order_line_price_history
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, Ernesto Tejeda, João Marques, oca-travis, OCA-git-bot, Kitti U
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_price_history_view_form purchase.order.line.price.history.view.form purchase.order.line.price.history form New
Models touched (2)

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the purchase history' string='Include commercial entity'
  • include_rfq Boolean
    help="Include 'Requests for Quotation' lines in the purchase history" string='Include RFQ'
  • line_ids One2many → purchase.order.line.price.history.line
    comodel_name='purchase.order.line.price.history.line' inverse_name='history_id' readonly=True string='History lines'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' default=_default_partner_id string='Supplier'
  • product_id Many2one
    related='purchase_order_line_id.product_id'
  • purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' default=<expr> string='Purchase order line'
Public methods (0)

No public methods.

New fields (8)
  • history_id Many2one → purchase.order.line.price.history
    comodel_name='purchase.order.line.price.history' string='History'
  • order_id Many2one
    related='purchase_order_line_id.order_id'
  • partner_id Many2one
    related='purchase_order_line_id.partner_id'
  • price_unit Float
    related='purchase_order_line_id.price_unit'
  • product_qty Float
    related='purchase_order_line_id.product_qty'
  • product_uom Many2one
    related='purchase_order_line_id.product_uom'
  • purchase_order_date_order Datetime
    related='purchase_order_line_id.order_id.date_order'
  • purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' string='Purchase order line'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/12.0/purchase_order_line_price_history
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Sylvain LE GAL, OCA Transbot, Ernesto Tejeda, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order xpath Inherits purchase.purchase_order_form
purchase_order_line_price_history_view_form purchase.order.line.price.history.view.form purchase.order.line.price.history form New
Models touched (2)

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the purchase history' string='Include commercial entity'
  • include_rfq Boolean
    help="Include 'Requests for Quotation' lines in the purchase history" string='Include RFQ'
  • line_ids One2many → purchase.order.line.price.history.line
    comodel_name='purchase.order.line.price.history.line' inverse_name='history_id' readonly=True string='History lines'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' default=_default_partner_id string='Supplier'
  • product_id Many2one
    related='purchase_order_line_id.product_id'
  • purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' default=<expr> string='Purchase order line'
Public methods (0)

No public methods.

New fields (9)
  • history_id Many2one → purchase.order.line.price.history
    comodel_name='purchase.order.line.price.history' string='History'
  • history_purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' string='history purchase order line'
  • order_id Many2one
    related='purchase_order_line_id.order_id'
  • partner_id Many2one
    related='purchase_order_line_id.partner_id'
  • price_unit Float
    related='purchase_order_line_id.price_unit'
  • product_qty Float
    related='purchase_order_line_id.product_qty'
  • product_uom Many2one
    related='purchase_order_line_id.product_uom'
  • purchase_order_date_order Datetime
    related='purchase_order_line_id.order_id.date_order'
  • purchase_order_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' string='Purchase order line'
Public methods (1)
  • action_set_price(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/purchase-workflow
PULL REQUEST
PULL REQUEST[19.0][MIG] purchase_order_line_price_history: Migration to 19.0 (#2993)