Product Template Default Weight
by Akretion https://github.com/OCA/product-attribute , Odoo Community Association (OCA) https://github.com/OCA/product-attribute| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Sales (sale_management) • Discuss (mail) • Invoicing (account) |
| Lines of code | 122 |
| Technical Name |
product_template_default_weight |
| License | AGPL-3 |
| Website | https://github.com/OCA/product-attribute |
Product Template Default Weight

This module ensures accurate weight calculation on stock operations and delivery packages when product variants have no weight defined.
By default, Odoo uses the variant weight on stock moves and delivery wizards. If a variant weight is 0, the total picking weight is silently set to 0, even when the product template has a weight defined.
This module fixes this behavior by falling back to the template weight when the variant weight is 0, ensuring correct weight calculation on: - Stock moves (stock.move) - Delivery package wizard (choose.delivery.package)
Table of contents
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Akretion
Contributors
- Mathieu Delva <mathieu.delva@akretion.com>
- Kévin Roche <kevin.roche@akretion.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainers:

This module is part of the OCA/product-attribute project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module