Lot Valuation

stock_lot_valuation
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/10.0/stock_lot_valuation
VERSION
VERSION 0.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, Denis Roussel, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Stock valuation (standard or average price, ...) based on lots.
This module extends standard stock valuation (based on products).
Valuing lots allows to have different costs for different lots of the same
product.

Usage
-----
Set the 'Lot valuation' flag on product form (used for real time valuation).
As for products, lots have 'cost' and 'costing method' fields. Also, a
'Change Standard Price' wizard is available.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_normal_form_view product_normal_form_view product.product field Inherits stock.view_normal_property_acc_form
view_change_standard_price Change Standard Price lot.change.standard.price form New
view_production_lot_form view_production_lot_form stock.production.lot field Inherits stock.view_production_lot_form
Models touched (6)

New fields (0)

No new fields.

Public methods (2)
  • change_price(self, cr, uid, ids, context=None)
    Changes the Standard Price of Product. And creates an account move accordingly. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param ids: List of IDs selected @param context: A standard dictionary @return:
  • default_get(self, cr, uid, fields, context=None)
    To get default values for the object. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param fields: List of fields for which we want default values @param context: A standard dictionary @return: A dictionary which of fields with values.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • compute_price(self, cr, uid, partial_datas, move, context=None)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)
  • write_lot(self, cr, uid, move, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (2)
  • do_change_standard_price(self, cr, uid, ids, datas, context=None)
    Changes the Standard Price of Lot and creates an account move accordingly. @param datas : dict. contain default datas like new_price, stock_output_account, stock_input_account, stock_journal @param context: A standard dictionary
  • price_get(self, cr, uid, ids, context=None)
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/9.0/stock_lot_valuation
VERSION
VERSION 0.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Stock valuation (standard or average price, ...) based on lots.
This module extends standard stock valuation (based on products).
Valuing lots allows to have different costs for different lots of the same
product.

Usage
-----
Set the 'Lot valuation' flag on product form (used for real time valuation).
As for products, lots have 'cost' and 'costing method' fields. Also, a
'Change Standard Price' wizard is available.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_normal_form_view product_normal_form_view product.product field Inherits stock.view_normal_property_acc_form
view_change_standard_price Change Standard Price lot.change.standard.price form New
view_production_lot_form view_production_lot_form stock.production.lot field Inherits stock.view_production_lot_form
Models touched (6)

New fields (0)

No new fields.

Public methods (2)
  • change_price(self, cr, uid, ids, context=None)
    Changes the Standard Price of Product. And creates an account move accordingly. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param ids: List of IDs selected @param context: A standard dictionary @return:
  • default_get(self, cr, uid, fields, context=None)
    To get default values for the object. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param fields: List of fields for which we want default values @param context: A standard dictionary @return: A dictionary which of fields with values.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • compute_price(self, cr, uid, partial_datas, move, context=None)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)
  • write_lot(self, cr, uid, move, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (2)
  • do_change_standard_price(self, cr, uid, ids, datas, context=None)
    Changes the Standard Price of Lot and creates an account move accordingly. @param datas : dict. contain default datas like new_price, stock_output_account, stock_input_account, stock_journal @param context: A standard dictionary
  • price_get(self, cr, uid, ids, context=None)
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/8.0/stock_lot_valuation
VERSION
VERSION 0.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Stock valuation (standard or average price, ...) based on lots.
This module extends standard stock valuation (based on products).
Valuing lots allows to have different costs for different lots of the same
product.

Usage
-----
Set the 'Lot valuation' flag on product form (used for real time valuation).
As for products, lots have 'cost' and 'costing method' fields. Also, a
'Change Standard Price' wizard is available.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_normal_form_view product_normal_form_view product.product field Inherits stock.view_normal_property_acc_form
view_change_standard_price Change Standard Price lot.change.standard.price form New
view_production_lot_form view_production_lot_form stock.production.lot field Inherits stock.view_production_lot_form
Models touched (6)

New fields (0)

No new fields.

Public methods (2)
  • change_price(self, cr, uid, ids, context=None)
    Changes the Standard Price of Product. And creates an account move accordingly. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param ids: List of IDs selected @param context: A standard dictionary @return:
  • default_get(self, cr, uid, fields, context=None)
    To get default values for the object. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param fields: List of fields for which we want default values @param context: A standard dictionary @return: A dictionary which of fields with values.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • compute_price(self, cr, uid, partial_datas, move, context=None)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)
  • write_lot(self, cr, uid, move, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (2)
  • do_change_standard_price(self, cr, uid, ids, datas, context=None)
    Changes the Standard Price of Lot and creates an account move accordingly. @param datas : dict. contain default datas like new_price, stock_output_account, stock_input_account, stock_journal @param context: A standard dictionary
  • price_get(self, cr, uid, ids, context=None)
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/7.0/stock_lot_valuation
VERSION
VERSION 0.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSLorenzo Battistini, Alexandre Fayolle, Pedro M. Baeza
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - process
    - web
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - account
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Stock valuation (standard or average price, ...) based on lots.
This module extends standard stock valuation (based on products).
Valuing lots allows to have different costs for different lots of the same
product.

Usage
-----
Set the 'Lot valuation' flag on product form (used for real time valuation).
As for products, lots have 'cost' and 'costing method' fields. Also, a
'Change Standard Price' wizard is available.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_normal_form_view product_normal_form_view product.product field Inherits stock.view_normal_property_acc_form
view_change_standard_price Change Standard Price lot.change.standard.price form New
view_production_lot_form view_production_lot_form stock.production.lot field Inherits stock.view_production_lot_form
Models touched (6)

New fields (0)

No new fields.

Public methods (2)
  • change_price(self, cr, uid, ids, context=None)
    Changes the Standard Price of Product. And creates an account move accordingly. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param ids: List of IDs selected @param context: A standard dictionary @return:
  • default_get(self, cr, uid, field_list, context=None)
    To get default values for the object. @param self: The object pointer. @param cr: A database cursor @param uid: ID of the user currently logged in @param field_list: List of fields for which we want default values @param context: A standard dictionary @return: A dictionary which of fields with values.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • compute_price(self, cr, uid, partial_datas, move, context=None)
  • do_partial(self, cr, uid, ids, partial_datas, context=None)
  • write_lot(self, cr, uid, move, partial_datas, context=None)

New fields (0)

No new fields.

Public methods (2)
  • do_change_standard_price(self, cr, uid, ids, datas, context=None)
    Changes the Standard Price of Lot and creates an account move accordingly. @param datas : dict. contain default datas like new_price, stock_output_account, stock_input_account, stock_journal @param context: A standard dictionary
  • price_get(self, cr, uid, ids, context=None)