Skip to main content

Add Product Template Default Weight logic

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_product_template_default_weight-16.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_product_template_default_weight-16.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e101ac64aa7860f2bf9cf3f2fb90dfb9d3507966cfa50393d9b799ae9419e4ae
MD5 f1e9cda366e70b2f901e029455b3789a
BLAKE2b-256 b024bde912d2ccb2af9d7338478eb282e0c6b6069ba53ec85b8027dc07486c52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page