Product Weight Calculation

product_weight
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/14.0/product_weight
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
COMMITTERS
COMMITTERSGitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, hparfr
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_product_weight_update Update Product Weight product.weight.update form New
view_product_weight_update_multi Update Product Weights product.weight.update form New
view_template_property_form product.template field Inherits stock.view_template_property_form
Models touched (1)

New fields (3)
  • bom_id Many2one → mrp.bom
    domain="[('product_tmpl_id', '=', product_tmpl_id)]" args: 'mrp.bom', 'BoM'
  • product_id Many2one → product.product
    args: 'product.product', 'Product'
  • product_tmpl_id Many2one → product.template
    args: 'product.template', 'Template'
Public methods (4)
  • calculate_product_bom_weight(self, bom, product=False)
  • default_get(self, fields)
    @api.model
  • update_multi_product_weight(self)
  • update_single_weight(self)
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/13.0/product_weight
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Tony Galmiche
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_product_weight_update Update Product Weight product.weight.update form New
view_product_weight_update_multi Update Product Weights product.weight.update form New
view_template_property_form product.template field Inherits stock.view_template_property_form
Models touched (1)

New fields (3)
  • bom_id Many2one → mrp.bom
    domain="[('product_tmpl_id', '=', product_tmpl_id)]" args: 'mrp.bom', 'BoM'
  • product_id Many2one → product.product
    args: 'product.product', 'Product'
  • product_tmpl_id Many2one → product.template
    args: 'product.template', 'Template'
Public methods (4)
  • calculate_product_bom_weight(self, bom, product=False)
  • default_get(self, fields)
    @api.model
  • update_multi_product_weight(self)
  • update_single_weight(self)
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/12.0/product_weight
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, david, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_product_weight_update Update Product Weight product.weight.update form New
view_product_weight_update_multi Update Product Weights product.weight.update form New
view_template_property_form product.template field Inherits stock.view_template_property_form
Models touched (1)

New fields (3)
  • bom_id Many2one → mrp.bom
    domain="[('product_tmpl_id', '=', product_tmpl_id)]" args: 'mrp.bom', 'BoM'
  • product_id Many2one → product.product
    args: 'product.product', 'Product'
  • product_tmpl_id Many2one → product.template
    args: 'product.template', 'Template'
Public methods (4)
  • calculate_product_bom_weight(self, bom, product=False)
    @api.multi
  • default_get(self, fields)
    @api.model
  • update_multi_product_weight(self)
    @api.multi
  • update_single_weight(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/11.0/product_weight
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, tbaden
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - stock
    - barcodes
    - web_planner
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
compute_product_weight_form_view product.template field Inherits stock.view_template_property_form
view_product_weight_update Update Product Weight product.weight.update form New
view_product_weight_update_multi Update Product Weights product.weight.update form New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_final_components(self)
    @api.multi

New fields (3)
  • bom_id Many2one → mrp.bom
    domain="[('product_tmpl_id', '=', product_tmpl_id)]" args: 'mrp.bom', 'BoM'
  • product_id Many2one → product.product
    args: 'product.product', 'Product'
  • product_tmpl_id Many2one → product.template
    args: 'product.template', 'Template'
Public methods (4)
  • calculate_product_bom_weight(self, bom, product=False)
    @api.multi
  • default_get(self, fields)
    @api.model
  • update_multi_product_weight(self)
    @api.multi
  • update_single_weight(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/10.0/product_weight
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, Florian da Costa, oca-travis, Weblate, tbaden
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - stock
    - procurement
    - barcodes
    - web_planner
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
compute_product_weight_form_view product.template field Inherits stock.view_template_property_form
view_product_weight_update Update Product Weight product.weight.update form New
view_product_weight_update_multi Update Product Weights product.weight.update form New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_final_components(self)
    @api.multi

New fields (3)
  • bom_id Many2one → mrp.bom
    domain="[('product_tmpl_id', '=', product_tmpl_id)]" args: 'mrp.bom', 'BoM'
  • product_id Many2one → product.product
    args: 'product.product', 'Product'
  • product_tmpl_id Many2one → product.template
    args: 'product.template', 'Template'
Public methods (4)
  • calculate_product_bom_weight(self, bom, product=False)
    @api.multi
  • default_get(self, fields)
    @api.model
  • update_multi_product_weight(self)
    @api.multi
  • update_single_weight(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/9.0/product_weight
VERSION
VERSION 0.2.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - stock_account
    - stock
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_weight_form_view product.weight.form product.template field Inherits product.product_template_form_view
view_product_weight_update Update Product Weight product.weight.update form New
view_product_weight_update_multi Update Product Weights product.weight.update form New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_final_components(self)
    @api.multi

New fields (2)
  • bom_id Many2one → mrp.bom
    domain="[('product_tmpl_id', '=', product_tmpl_id)]" args: 'mrp.bom', 'BoM'
  • product_tmpl_id Many2one → product.template
    args: 'product.template', 'Product'
Public methods (4)
  • calculate_product_bom_weight(self, bom)
    @api.multi
  • default_get(self, fields)
    @api.model
  • update_multi_product_weight(self)
    @api.multi
  • update_single_weight(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/8.0/product_weight
VERSION
VERSION 0.2.0
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Savoir-faire Linux
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Laetitia Gangloff, Stéphane Bidoul (ACSONE), OCA Transbot, Florian da Costa, oca-travis
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - stock_account
    - stock
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_weight_form_view product.weight.form product.template field Inherits product.product_template_form_view
view_product_weight_update Update Product Weight product.weight.update form New
view_product_weight_update_multi Update Product Weights product.weight.update form New
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • get_final_components(self)
    @api.multi

New fields (2)
  • bom_id Many2one → mrp.bom
    domain="[('product_tmpl_id', '=', product_tmpl_id)]" args: 'mrp.bom', 'BoM'
  • product_tmpl_id Many2one → product.template
    args: 'product.template', 'Product'
Public methods (4)
  • calculate_product_bom_weight(self, bom)
    @api.multi
  • default_get(self, fields)
    @api.model
  • update_multi_product_weight(self)
    @api.multi
  • update_single_weight(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/7.0/product_weight
VERSION
VERSION 0.1
CATEGORY
CATEGORYWarehouse
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSAlexandre Fayolle, Joao Alfredo Gama Batista
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mrp
    - product
    - process
    - web
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - procurement
    - stock
    - account
    - analytic
    - board
    - edi
    - email_template
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
    This module updates product net weight based on it's components weight
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_weight_form_view product.weight.form product.product data Inherits product.product_normal_form_view
view_product_weight_update Update Product Weight product.weight.update form New
Models touched (0)

No models found for this module.