Delivery Carrier Preference
delivery_carrier_preference · OCA/wms
Health
70/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.11 MB
Module directory on disk
Code analysis
4 migration notes
5 models
6 views
0 HTTP endpoints
Migration considerations
delivery_carrier_preference_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcedelivery_carrier_preference_tree_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · sourcestock_location_route_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_picking_withcarrier_out_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- delivery_preference_glue_stock_picking_group
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
delivery_carrier_preference_form_view |
delivery.carrier.preference.form.view | delivery.carrier.preference | form | New |
delivery_carrier_preference_tree_view |
delivery.carrier.preference.tree.view | delivery.carrier.preference | tree | New |
stock_location_route_form_view |
stock.location.route.form | stock.location.route | form | Inherits stock.stock_location_route_form_view |
view_move_form |
stock.move.form | stock.move | form | Inherits stock.view_move_form |
view_move_tree |
stock.move | tree | Inherits sale_stock_available_to_promise_release.view_move_release_tree | |
view_picking_withcarrier_out_form |
delivery.stock.picking_withcarrier.form.view | stock.picking | form | Inherits delivery.view_picking_withcarrier_out_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (9)
-
carrier_idMany2one → delivery.carrierondelete='cascade' args: 'delivery.carrier' -
company_idMany2one → res.companydefault=<expr>required=True args: 'res.company' -
max_weightFloathelp='Leave empty for no limit' args: 'Max weight' -
max_weight_uom_idMany2one → uom.uomcompute='_compute_max_weight_uom_id'default=<expr>readonly=True args: 'uom.uom' -
max_weight_uom_nameCharreadonly=Truerelated='max_weight_uom_id.display_name'string='Max weight UOM' -
nameCharcompute='_compute_name'readonly=True -
picking_domainChardefault='[]'help='Domain to restrict application of this preference for carrier selection on pickings' -
preferenceSelectiondefault='carrier'required=True args: [('carrier', 'Defined carrier'), ('partner', 'Partner carrier')] -
sequenceIntegerdefault=10index=Truerequired=True
-
onchange_preference(self)@api.onchange('preference')
New fields (1)
-
picking_idsOne2many → stock.pickingcomodel_name='stock.picking'inverse_name='group_id'readonly=True
No public methods.
New fields (1)
-
force_recompute_preferred_carrier_on_releaseBooleanhelp='Mark this box to trigger a recomputation of preferred carrier on the release of operations.'string='Force recomputation of preferred carrier.'
No public methods.
New fields (1)
-
estimated_shipping_weightFloatcompute='_compute_estimated_shipping_weight'help='Total weight available to promise calculated according to the quantity available to promise and weight defined on packagings for this product.'string='Estimated shipping weight'
-
read_group(self, domain, fields, groupby, offset=0, limit=None, orderby=False, lazy=True)@api.model -
release_available_to_promise(self)
New fields (1)
-
estimated_shipping_weightFloatcompute='_compute_estimated_shipping_weight'help='This weight is calculated according to the move quantity available to promise and existing product packagings weight for each product on the moves.'string='Estimated shipping weight'
-
add_preferred_carrier(self) -
get_preferred_carriers(self)
Loading…
Loading…