Sale order line price history

sale_order_line_price_history
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/19.0/sale_order_line_price_history
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Vicent-S73
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:48
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
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of Sales to allow you to see the
price history of a product from a sale order line and set one of these
old prices in the sale order line.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (1)
  • order_partner_id Many2one
    depends=['product_id']
Public methods (0)

No public methods.

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.order.line.price.history.line' inverse_name='history_id' readonly=True string='History lines'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' default=<expr> string='Customer'
  • product_id Many2one → product.product
    comodel_name='product.product' default=<expr> string='Product'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (11)
  • discount Float
    related='sale_order_line_id.discount'
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    related='sale_order_line_id.order_id'
  • order_state Selection
    related='order_id.state'
  • partner_id Many2one
    related='sale_order_line_id.order_partner_id'
  • price_unit Float
    related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    related='sale_order_line_id.order_id.date_order'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line'
  • target_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' related='history_id.sale_order_line_id'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_order_line_price_history
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
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 extends the functionality of Sales to allow you to see the
price history of a product from a sale order line and set one of these
old prices in the sale order line.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (1)
  • order_partner_id Many2one
    depends=['product_id']
Public methods (0)

No public methods.

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.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='Customer'
  • product_id Many2one → product.product
    comodel_name='product.product' default=_default_product_id string='Product'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (11)
  • discount Float
    related='sale_order_line_id.discount'
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    related='sale_order_line_id.order_id'
  • order_state Selection
    related='order_id.state'
  • partner_id Many2one
    related='sale_order_line_id.order_partner_id'
  • price_unit Float
    related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    related='sale_order_line_id.order_id.date_order'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line'
  • target_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' related='history_id.sale_order_line_id'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/17.0/sale_order_line_price_history
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Atte Isopuro, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - 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 extends the functionality of Sales to allow you to see the
price history of a product from a sale order line and set one of these
old prices in the sale order line.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (1)
  • order_partner_id Many2one
    depends=['product_id']
Public methods (0)

No public methods.

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.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='Customer'
  • product_id Many2one → product.product
    comodel_name='product.product' default=_default_product_id string='Product'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (11)
  • discount Float
    related='sale_order_line_id.discount'
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    related='sale_order_line_id.order_id'
  • order_state Selection
    related='order_id.state'
  • partner_id Many2one
    related='sale_order_line_id.order_partner_id'
  • price_unit Float
    related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    related='sale_order_line_id.order_id.date_order'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='Sale order line'
  • target_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' related='history_id.sale_order_line_id'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/16.0/sale_order_line_price_history
VERSION
VERSION 1.2.2
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSMiquel Raïch, Weblate, OCA-git-bot, oca-ci, Eduardo De Miguel, Dario Del Zozzo, Yadier A. De Quesada
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - 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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (1)
  • order_partner_id Many2one
    depends=['product_id']
Public methods (0)

No public methods.

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.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='Customer'
  • product_id Many2one → product.product
    comodel_name='product.product' default=_default_product_id string='Product'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (11)
  • discount Float
    related='sale_order_line_id.discount'
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    related='sale_order_line_id.order_id'
  • order_state Selection
    related='order_id.state'
  • partner_id Many2one
    related='sale_order_line_id.order_partner_id'
  • price_unit Float
    related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    related='sale_order_line_id.order_id.date_order' store=True
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='Sale order line'
  • target_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' related='history_id.sale_order_line_id'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/15.0/sale_order_line_price_history
VERSION
VERSION 2.0.2
CATEGORY
CATEGORYSales 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, Carlos Dauden, Ernesto Tejeda, Weblate, OCA-git-bot, oca-ci, Carlos Roca, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - 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 (2)
XML IDNameModelTypeStatus
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (1)
  • order_partner_id Many2one
    depends=['order_id.partner_id', 'product_id']
Public methods (0)

No public methods.

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.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='Customer'
  • product_id Many2one → product.product
    comodel_name='product.product' default=_default_product_id string='Product'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (9)
  • discount Float
    related='sale_order_line_id.discount'
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    related='sale_order_line_id.order_id'
  • partner_id Many2one
    related='sale_order_line_id.order_partner_id'
  • price_unit Float
    related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    related='sale_order_line_id.order_id.date_order'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='Sale order line'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/14.0/sale_order_line_price_history
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, dsolanki
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - 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 (3)
XML IDNameModelTypeStatus
assets_backend assets_backend ir.ui.view qweb Inherits web.assets_backend
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (1)
  • order_partner_id Many2one
    depends=['product_id']
Public methods (0)

No public methods.

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history' string='Include quotations'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.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='Customer'
  • product_id Many2one → product.product
    comodel_name='product.product' default=_default_product_id string='Product'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (9)
  • discount Float
    related='sale_order_line_id.discount'
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    related='sale_order_line_id.order_id'
  • partner_id Many2one
    related='sale_order_line_id.order_partner_id'
  • price_unit Float
    related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    related='sale_order_line_id.order_id.date_order'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='Sale order line'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/13.0/sale_order_line_price_history
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYSales 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, Carlos Dauden, david, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, Denny Biasiolli
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - 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 (3)
XML IDNameModelTypeStatus
assets_backend assets_backend ir.ui.view qweb Inherits web.assets_backend
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history' string='Include quotations'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.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='Customer'
  • product_id Many2one → product.product
    comodel_name='product.product' default=_default_product_id string='Product'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (9)
  • discount Float
    related='sale_order_line_id.discount'
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    related='sale_order_line_id.order_id'
  • partner_id Many2one
    related='sale_order_line_id.order_partner_id'
  • price_unit Float
    related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    related='sale_order_line_id.order_id.date_order'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='Sale order line'
Public methods (1)
  • action_set_price(self)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/12.0/sale_order_line_price_history
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Ernesto Tejeda, oca-travis, Weblate, OCA-git-bot, sergiocorato, Murtuza Saleh
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - 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
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history' string='Include quotations'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.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='Customer'
  • product_id Many2one
    related='sale_order_line_id.product_id'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (9)
  • discount Float
    related='sale_order_line_id.discount'
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    related='sale_order_line_id.order_id'
  • partner_id Many2one
    related='sale_order_line_id.order_partner_id'
  • price_unit Float
    related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    related='sale_order_line_id.order_id.date_order'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='Sale order line'
Public methods (1)
  • action_set_price(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/11.0/sale_order_line_price_history
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSDenis Roussel, OCA Transbot, oca-travis, OCA-git-bot, ernesto
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_order_line_price_history_view_form sale.order.line.price.history.view.form sale.order.line.price.history form New
view_order_form sale.order.line.price.history.form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (6)
  • include_commercial_partner Boolean
    default=True help='Include commercial entity and its contacts in the sale history' string='Include commercial entity'
  • include_quotations Boolean
    help='Include quotations lines in the sale history' string='Include quotations'
  • line_ids One2many → sale.order.line.price.history.line
    comodel_name='sale.order.line.price.history.line' inverse_name='history_id' readonly=True string='History line'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' default=_default_partner_id string='Customer'
  • product_id Many2one
    readonly=True related='sale_order_line_id.product_id'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' default=<expr> string='Sale order line'
Public methods (0)

No public methods.

New fields (8)
  • history_id Many2one → sale.order.line.price.history
    comodel_name='sale.order.line.price.history' string='History'
  • history_sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='history sale order line'
  • order_id Many2one
    readonly=True related='sale_order_line_id.order_id'
  • partner_id Many2one
    readonly=True related='sale_order_line_id.order_partner_id'
  • price_unit Float
    readonly=True related='sale_order_line_id.price_unit'
  • product_uom_qty Float
    readonly=True related='sale_order_line_id.product_uom_qty'
  • sale_order_date_order Datetime
    readonly=True related='sale_order_line_id.order_id.date_order'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='Sale order line'
Public methods (1)
  • action_set_price(self)
    @api.multi