OdooWiki OCA HUB

Product Weight Calculation

product_weight folder_open OCA/product-attribute open_in_new
Warehouse License: AGPL-3

Allows to calculate products weight from its components.

You can update the weight for one specific product at a time and choose which bom should be used to know the components. Or you can run the calculation for many products at one time, this way, the first bom found for the product will be used to know the components.

If products' weights are expressed in different Unit of Measures, have a look to product_weight_logistics_uom module.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Calculate a product's weight automatically from its bill of materials components. Run it for one product with a chosen BoM, or for many products at once using the first BoM found.

This module adds a way to fill in the weight of manufactured products based on the weights of their components, instead of typing it by hand.

On a product form, next to the Weight field, a small "update weights" link opens a window where you pick the bill of materials to use. The module then looks at every component in that BoM, multiplies each component's weight by the quantity needed, and writes the total into the product's weight.

You can also select several products or product templates in a list and use the "Calculate Product Weights" or "Calculate Template Weights" action. In that case the module uses the first bill of materials it finds for each product; for templates it skips those with more than one variant.

Quantities are converted between the units of measure used on the BoM and on the components, so the result is consistent. If a product has no active variant, an error message is shown. The module only reads and updates the weight field; it does not change stock, prices or other data.

Depends on

mrp

Required by other modules

Models and fields (1)
  • product.weight.update · new modelbom_id, product_id, product_tmpl_id

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/product-attribute.

terminal Installation and usage

OCA documentation · Odoo 14.0

You can update the weight of one product clicking on the button under the weights. Or you can select the products you want to update from the tree list.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.