Purchase Product Last Price Info

purchase_last_price_info
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/18.0/purchase_last_price_info
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSStefan Rijnhart, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - 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
This module adds the last purchase info of the product. What is shown is the
supplier, date of purchase, and price of the most recently confirmed purchase
order.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_product_last_purchase_info_form_view product.product.last.purchase.info.form product.product field Inherits product.product_normal_form_view
product_product_tree_view product.product.tree product.product field Inherits product.product_product_tree_view
product_template_last_purchase_info_form_view product.template.form.last.purchase.info product.template field Inherits purchase.view_product_supplier_inherit
product_template_tree_view product.template.product.tree product.template field Inherits product.product_template_tree_view
Models touched (2)

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' inverse_name='product_id' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_price_currency Float
    compute='_compute_last_purchase_price_currency' digits=0 string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    compute='_compute_show_last_purchase_price_currency'
Public methods (0)

No public methods.

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' related='product_variant_ids.last_purchase_line_ids' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_price_currency Float
    digits=0 related='product_variant_ids.last_purchase_price_currency' string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    related='product_variant_ids.show_last_purchase_price_currency'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/17.0/purchase_last_price_info
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, david-s73, maso, Viktor Anikeenko
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - 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
This module adds the last purchase info of the product.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_product_last_purchase_info_form_view product.product.last.purchase.info.form product.product field Inherits product.product_normal_form_view
product_product_tree_view product.product.tree product.product field Inherits product.product_product_tree_view
product_template_last_purchase_info_form_view product.template.form.last.purchase.info product.template field Inherits purchase.view_product_supplier_inherit
product_template_tree_view product.template.product.tree product.template field Inherits product.product_template_tree_view
Models touched (2)

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' inverse_name='product_id' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_price_currency Float
    compute='_compute_last_purchase_price_currency' digits=0 string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    compute='_compute_show_last_purchase_price_currency'
Public methods (0)

No public methods.

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' related='product_variant_ids.last_purchase_line_ids' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_price_currency Float
    digits=0 related='product_variant_ids.last_purchase_price_currency' string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    related='product_variant_ids.show_last_purchase_price_currency'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/16.0/purchase_last_price_info
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Achraf Mhadhbi
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
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 (4)
XML IDNameModelTypeStatus
product_product_last_purchase_info_form_view product.product.last.purchase.info.form product.product field Inherits product.product_normal_form_view
product_product_tree_view product.product.tree product.product field Inherits product.product_product_tree_view
product_template_last_purchase_info_form_view product.template.form.last.purchase.info product.template field Inherits purchase.view_product_supplier_inherit
product_template_tree_view product.template.product.tree product.template field Inherits product.product_template_tree_view
Models touched (2)

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' inverse_name='product_id' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_price_currency Float
    compute='_compute_last_purchase_price_currency' digits=0 string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    compute='_compute_show_last_purchase_price_currency'
Public methods (0)

No public methods.

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' related='product_variant_ids.last_purchase_line_ids' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_price_currency Float
    digits=0 related='product_variant_ids.last_purchase_price_currency' string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    related='product_variant_ids.show_last_purchase_price_currency'
Public methods (0)

No public methods.

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_last_price_info
VERSION
VERSION 2.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, Ruchir Shukla, Weblate, OCA-git-bot, oca-ci
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 (4)
XML IDNameModelTypeStatus
product_product_last_purchase_info_form_view product.product.last.purchase.info.form product.product field Inherits product.product_normal_form_view
product_product_tree_view product.product.tree product.product field Inherits product.product_product_tree_view
product_template_last_purchase_info_form_view product.template.form.last.purchase.info product.template field Inherits purchase.view_product_supplier_inherit
product_template_tree_view product.template.product.tree product.template field Inherits product.product_template_tree_view
Models touched (2)

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' domain=<expr> inverse_name='product_id' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_price_currency Float
    compute='_compute_last_purchase_price_currency' digits=0 string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    compute='_compute_show_last_purchase_price_currency'
Public methods (0)

No public methods.

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' related='product_variant_ids.last_purchase_line_ids' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info'
  • last_purchase_price_currency Float
    digits=0 related='product_variant_ids.last_purchase_price_currency' string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    related='product_variant_ids.show_last_purchase_price_currency'
Public methods (0)

No public methods.

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_last_price_info
VERSION
VERSION 2.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, Víctor Martínez, Vishnu Vanneri, oca-travis, Weblate, OCA-git-bot, Simone Rubino
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 (4)
XML IDNameModelTypeStatus
product_product_last_purchase_info_form_view product.product.last.purchase.info.form product.product field Inherits product.product_normal_form_view
product_product_tree_view product.product.tree product.product field Inherits product.product_product_tree_view
product_template_last_purchase_info_form_view product.template.form.last.purchase.info product.template field Inherits purchase.view_product_supplier_inherit
product_template_tree_view product.template.product.tree product.template field Inherits product.product_template_tree_view
Models touched (2)

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info' string='Last Purchase Date'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' inverse_name='product_id' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info' string='Last Purchase Price'
  • last_purchase_price_currency Float
    compute='_compute_last_purchase_price_currency' digits=0 string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    compute='_compute_show_last_purchase_price_currency'
Public methods (0)

No public methods.

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info' string='Last Purchase Date'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' related='product_variant_ids.last_purchase_line_ids' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info' string='Last Purchase Price'
  • last_purchase_price_currency Float
    digits=0 related='product_variant_ids.last_purchase_price_currency' string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    related='product_variant_ids.show_last_purchase_price_currency'
Public methods (0)

No public methods.

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_last_price_info
VERSION
VERSION 2.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), AvanzOSC
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), AvanzOSC
COMMITTERS
COMMITTERSPedro M. Baeza, mreficent, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, kongrattapong
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 (4)
XML IDNameModelTypeStatus
product_product_last_purchase_info_form_view product.product.last.purchase.info.form product.product field Inherits product.product_normal_form_view
product_product_tree_view product.product.tree product.product field Inherits product.product_product_tree_view
product_template_last_purchase_info_form_view product.template.form.last.purchase.info product.template field Inherits purchase.view_product_supplier_inherit
product_template_tree_view product.template.product.tree product.template field Inherits product.product_template_tree_view
Models touched (2)

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info' string='Last Purchase Date'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' domain=<expr> inverse_name='product_id' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info' string='Last Purchase Price'
  • last_purchase_price_currency Float
    compute='_compute_last_purchase_price_currency' digits=0 string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    compute='_compute_show_last_purchase_price_currency'
Public methods (0)

No public methods.

New fields (8)
  • last_purchase_currency_id Many2one → res.currency
    comodel_name='res.currency' compute='_compute_last_purchase_line_id_info' string='Last Purchase Currency'
  • last_purchase_date Datetime
    compute='_compute_last_purchase_line_id_info' string='Last Purchase Date'
  • last_purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_last_purchase_line_id' string='Last Purchase Line'
  • last_purchase_line_ids One2many → purchase.order.line
    comodel_name='purchase.order.line' related='product_variant_ids.last_purchase_line_ids' string='Last Purchase Order Lines'
  • last_purchase_price Float
    compute='_compute_last_purchase_line_id_info' string='Last Purchase Price'
  • last_purchase_price_currency Float
    digits=0 related='product_variant_ids.last_purchase_price_currency' string='Last currency purchase price'
  • last_purchase_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_compute_last_purchase_line_id_info' string='Last Supplier'
  • show_last_purchase_price_currency Boolean
    related='product_variant_ids.show_last_purchase_price_currency'
Public methods (0)

No public methods.

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_last_price_info
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Tecnativa - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Tecnativa - Pedro M. Baeza
COMMITTERS
COMMITTERSLois Rilo, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Tu Nombre
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 (4)
XML IDNameModelTypeStatus
product_product_last_purchase_info_form_view product.product.last.purchase.info.form product.product group Inherits product.product_normal_form_view
product_product_tree_view product.product.tree product.product field Inherits product.product_product_tree_view
product_template_last_purchase_info_form_view product.template.form.last.purchase.info product.template group Inherits purchase.view_product_supplier_inherit
product_template_tree_view product.template.product.tree product.template field Inherits product.product_template_tree_view
Models touched (3)

New fields (3)
  • last_purchase_date Date
    string='Last Purchase Date'
  • last_purchase_price Float
    digits=dp.get_precision('Product Price') string='Last Purchase Price'
  • last_supplier_id Many2one → res.partner
    comodel_name='res.partner' string='Last Supplier'
Public methods (1)
  • set_product_last_purchase(self, order_id=False)
    @api.multi
    Get last purchase price, last purchase date and last supplier

New fields (3)
  • last_purchase_date Date
    string='Last Purchase Date'
  • last_purchase_price Float
    digits=dp.get_precision('Product Price') string='Last Purchase Price'
  • last_supplier_id Many2one → res.partner
    comodel_name='res.partner' string='Last Supplier'
Public methods (1)
  • set_product_template_last_purchase(self, date_order, price_unit, partner_id)

New fields (0)

No new fields.

Public methods (2)
  • button_approve(self, force=False)
    @api.multi
  • button_cancel(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/11.0/purchase_last_price_info
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, OCA-git-bot, rcerrillo2
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_product_last_purchase_info_form_view product.product.last.purchase.info.form product.product group Inherits product.product_normal_form_view
product_product_tree_view product.product.tree product.product field Inherits product.product_product_tree_view
product_template_last_purchase_info_form_view product.template.form.last.purchase.info product.template group Inherits purchase.view_product_supplier_inherit
product_template_tree_view product.template.product.tree product.template field Inherits product.product_template_tree_view
Models touched (3)

New fields (3)
  • last_purchase_date Date
    string='Last Purchase Date'
  • last_purchase_price Float
    string='Last Purchase Price'
  • last_supplier_id Many2one → res.partner
    comodel_name='res.partner' string='Last Supplier'
Public methods (1)
  • set_product_last_purchase(self, order_id=False)
    @api.multi
    Get last purchase price, last purchase date and last supplier

New fields (3)
  • last_purchase_date Date
    string='Last Purchase Date'
  • last_purchase_price Float
    string='Last Purchase Price'
  • last_supplier_id Many2one → res.partner
    comodel_name='res.partner' string='Last Supplier'
Public methods (1)
  • set_product_template_last_purchase(self, date_order, price_unit, partner_id)

New fields (0)

No new fields.

Public methods (2)
  • button_approve(self, force=False)
    @api.multi
  • button_cancel(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/10.0/purchase_last_price_info
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.odoomrp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product.product_last_info_page_form_view product.last.info.page.form product.product notebook Inherits product.product_normal_form_view
product_last_purchase_info_form_view product.last.purchase.info.form product.product page Inherits product.product_last_info_page_form_view
Models touched (1)

New fields (3)
  • last_purchase_date Date
    compute='_get_last_purchase' string='Last Purchase Date'
  • last_purchase_price Float
    compute='_get_last_purchase' string='Last Purchase Price'
  • last_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_get_last_purchase' string='Last Supplier'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/9.0/purchase_last_price_info
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.odoomrp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product.product_last_info_page_form_view product.last.info.page.form product.product notebook Inherits product.product_normal_form_view
product_last_purchase_info_form_view product.last.purchase.info.form product.product page Inherits product.product_last_info_page_form_view
Models touched (1)

New fields (3)
  • last_purchase_date Date
    compute='_get_last_purchase' string='Last Purchase Date'
  • last_purchase_price Float
    compute='_get_last_purchase' string='Last Purchase Price'
  • last_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_get_last_purchase' string='Last Supplier'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/8.0/purchase_last_price_info
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSStéphane Bidoul, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, OCA-git-bot, oihane
WEBSITE
WEBSITEhttp://www.odoomrp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product.product_last_info_page_form_view product.last.info.page.form product.product notebook Inherits product.product_normal_form_view
product_last_purchase_info_form_view product.last.purchase.info.form product.product page Inherits product.product_last_info_page_form_view
Models touched (1)

New fields (3)
  • last_purchase_date Date
    compute='_get_last_purchase' string='Last Purchase Date'
  • last_purchase_price Float
    compute='_get_last_purchase' string='Last Purchase Price'
  • last_supplier_id Many2one → res.partner
    comodel_name='res.partner' compute='_get_last_purchase' string='Last Supplier'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/purchase-workflow
PULL REQUEST
PULL REQUEST[19.0][MIG] purchase_last_price_info : migrate to 19.0 (#2851)