Delivery Carrier Option
delivery_carrier_option · OCA/delivery-carrier
Health
54/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 13 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 18.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.06 MB
Module directory on disk
Code analysis
0 migration notes
4 models
6 views
0 HTTP endpoints
Description
This module adds the concept of option on carriers that can differ depending on the picking This module doesn't do anything by itself, it serves as a base module for other carrier-specific modules.
Dependencies
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_option_view_form |
delivery_base.delivery_carrier_option.view_form | delivery.carrier.option | form | New |
delivery_carrier_option_view_list |
delivery_base.delivery_carrier_option.view_list | delivery.carrier.option | list | New |
delivery_carrier_template_option_view_form |
delivery_base.delivery_carrier_option.view_form | delivery.carrier.template.option | form | New |
delivery_carrier_template_option_view_list |
delivery_base.delivery_carrier_template_option.view_list | delivery.carrier.template.option | list | New |
view_delivery_carrier_form |
delivery_base.delivery.carrier.view_form | delivery.carrier | form | Inherits delivery.view_delivery_carrier_form |
view_picking_withcarrier_out_form |
stock.picking | form | Inherits stock_delivery.view_picking_withcarrier_out_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
available_option_idsOne2many → delivery.carrier.optioncomodel_name='delivery.carrier.option'context={'active_test': False}inverse_name='carrier_id'string='Option'
-
default_options(self)Returns default and available options for a carrier
New fields (7)
-
activeBooleandefault=True -
by_defaultBooleanhelp='By check, user can choose to apply this option to each Delivery Order\n using this delivery method'string='Applied by Default' -
carrier_idMany2one → delivery.carriercomodel_name='delivery.carrier' -
colorIntegercompute='_compute_color'help='Orange if the option is mandatory, otherwise no color' -
mandatoryBooleanhelp='If checked, this option is necessarily applied to the delivery order. Mandatory options show up in orange in the option widget on the picking.' -
readonly_flagBooleanhelp='When True, help to prevent the user to modify some fields option (if attribute is defined in the view)' -
tmpl_option_idMany2one → delivery.carrier.template.optioncomodel_name='delivery.carrier.template.option'ondelete='cascade'required=Truestring='Option'
No public methods.
New fields (5)
-
codeChar -
descriptionCharhelp='Allow to define a more complete description than in the name field.' -
nameChar -
partner_idMany2one → res.partnercomodel_name='res.partner'string='Partner Carrier' -
typeSelectiondefault='basic'selection=[('basic', 'Basic Service'), ('additional', 'Additional Service'), ('delivery', 'Delivery Instructions'), ('partner_option', 'Partner Option')]string='Option Type'
No public methods.
New fields (1)
-
option_idsMany2many → delivery.carrier.optioncomodel_name='delivery.carrier.option'compute='_compute_option_ids'readonly=Falsestore=Truestring='Options'
-
onchange_option_ids(self)@api.onchange('option_ids')
Loading…