Constrain package maximum weight
delivery_carrier_max_weight_constraint · OCA/delivery-carrier
Health
67/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
4 models
2 views
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…
Loading…