TIP: You can type at any time to perform a new search.
Delivery Carrier Option
delivery_carrier_option · OCA/delivery-carrier
- Repository
- OCA/delivery-carrier · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Delivery
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/delivery-carrier
- Last tracking update
- 2026-08-07 09:06:24
- Authors
- Camptocamp, Akretion, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Akretion, Odoo Community Association (OCA)
- Committers
- OCA-git-bot, oca-ci, Julien Guenat
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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…