Skip to main content
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

Contributors

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.

Release files for odoo-addon-product-template-default-weight 16.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-product-template-default-weight 16.0.1.0.0.2
File Interpreter ABI Platform
odoo_addon_product_template_default_weight-16.0.1.0.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_product_template_default_weight-16.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_product_template_default_weight-16.0.1.0.0.2-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e101ac64aa7860f2bf9cf3f2fb90dfb9d3507966cfa50393d9b799ae9419e4ae
BLAKE2b-256 checksum
How to use checksums
b024bde912d2ccb2af9d7338478eb282e0c6b6069ba53ec85b8027dc07486c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

16.0.1.0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page