Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.0
Category
Warehouse Management
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 08:42:54
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Khôi (Kiên Kim)
Odoo dependencies
Python dependencies
openupgradelib
System dependencies
None
Required by
None
Description
This module provides a function to estimate the weight of a given
quantity of a product, taking into account the product packaging's
weights and return the weight in the product uom.

It uses the module stock_packaging_calculator to get weight from product
packagings having a weight defined first and fallback on product weight
field if no weight is defined on any of the packaging.

Warning

This module is lacking the weight uom conversions as it depends on
*product_packaging_dimension* that depends on *product_logistics_uom*
that allows to set a uom on the weight.

**The sum in this module is assuming all weights are in kg**.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • get_total_weight_from_packaging(self, qty)

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
15 days ago
Last activity
15 days ago
Repository
OCA/product-attribute
Pull request
[19.0][MIG] product_total_weight_from_packaging (#2368)