TIP: You can type at any time to perform a new search.
Constrain package maximum weight
delivery_carrier_max_weight_constraint · OCA/delivery-carrier
- Repository
- OCA/delivery-carrier · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Delivery
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/delivery-carrier
- Last tracking update
- 2026-08-07 08:42:52
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- LauraCForgeFlow, Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module ensures the wizard of package type selection cannot create a package with a weight greater than the maximum configured on its packaging type if the constraint is enabled and maximum weight set.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form (in delivery_carrier_max_weight_constraint) | res.config.settings | form | Inherits stock.res_config_settings_view_form |
stock_package_type_form_delivery |
stock.package.type.form.delivery (in delivery_carrier_max_weight_constraint) | stock.package.type | form | Inherits stock_delivery.stock_package_type_form_delivery |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
delivery_carrier_strict_weight_packageBooleandefault=Falsestring='Overweight packages forbidden'
No public methods.
New fields (1)
-
delivery_carrier_strict_weight_packageBooleanreadonly=Falserelated='company_id.delivery_carrier_strict_weight_package'
No public methods.
New fields (1)
-
is_strict_weightBooleancompute='_compute_is_strict_weight'help="The maximum weight of the package can't be exceeded."readonly=Falsestore=Truestring='Overweight forbidden'
No public methods.
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 560 days ago
- Last activity
- 20 days ago
- Repository
- OCA/delivery-carrier
- Pull request
- [17.0][MIG] delivery_carrier_max_weight_constraint: Migration to 17.0 (#950)
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 2 days ago
- Last activity
- 2 days ago
- Repository
- OCA/delivery-carrier
- Pull request
- [19.0][MIG] delivery_carrier_max_weight_constraint: Migration to 19.0 (#1240)