Odoo Community Association

Product Template Default Weight

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runboat

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

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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:

mathieudelva Kev-Roche

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.