Stock Move Purchase Price Update

stock_move_purchase_price_update
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/18.0/stock_move_purchase_price_update
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYstock
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, eduezerouali-tecnativa
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_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Allow update purchase price from incoming picking operations, picking detailed
operations and picking batch detailed operations if the purchase order is not invoiced.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
view_stock_move_line_detailed_operation_tree stock.move.line xpath Inherits stock.view_stock_move_line_detailed_operation_tree
Models touched (2)

New fields (2)
  • is_purchase_price_editable Boolean
    compute='_compute_purchase_fields'
  • purchase_price_unit Float
    compute='_compute_purchase_fields' digits='Product Price' inverse='_inverse_purchase_price_unit' string='Purchase price'
Public methods (0)

No public methods.

New fields (3)
  • is_purchase_price_editable Boolean
    compute='_compute_purchase_fields'
  • purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_purchase_fields'
  • purchase_price_unit Float
    compute='_compute_purchase_fields' digits='Product Price' inverse='_inverse_purchase_price_unit' string='Purchase price'
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/stock_move_purchase_price_update
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYstock
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Dauden, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:00:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase_stock
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Allow update purchase price from incoming picking operations, picking detailed
operations and picking batch detailed operations if the purchase order is not invoiced.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_picking_form stock.picking xpath Inherits stock.view_picking_form
view_stock_move_line_detailed_operation_tree stock.move.line xpath Inherits stock.view_stock_move_line_detailed_operation_tree
Models touched (2)

New fields (2)
  • is_purchase_price_editable Boolean
    compute='_compute_purchase_fields'
  • purchase_price_unit Float
    compute='_compute_purchase_fields' digits='Product Price' inverse='_inverse_purchase_price_unit' string='Purchase price'
Public methods (0)

No public methods.

New fields (3)
  • is_purchase_price_editable Boolean
    compute='_compute_purchase_fields'
  • purchase_line_id Many2one → purchase.order.line
    comodel_name='purchase.order.line' compute='_compute_purchase_fields'
  • purchase_price_unit Float
    compute='_compute_purchase_fields' digits='Product Price' inverse='_inverse_purchase_price_unit' string='Purchase price'
Public methods (0)

No public methods.