TIP: You can type at any time to perform a new search.
Multiple destinations for the same delivery method
delivery_multi_destination · OCA/delivery-carrier
- Repository
- OCA/delivery-carrier · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Delivery
- Folder size
- 0.1 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
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Andrii9090-tecnativa
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- delivery_purchase_multi_destination
- Description
This module allows to set different price rules depending on the destination. This module restores the concept of delivery grid, reusing the same model for nesting several "children" delivery methods, one per possible destination. It has been designed to reuse all possible extensions to the base delivery, without the need to create a glue module for having multiple destinations.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_delivery_carrier_form |
delivery.carrier | form | Inherits delivery.view_delivery_carrier_form | |
view_delivery_carrier_list |
delivery.carrier | list | Inherits delivery.view_delivery_carrier_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (3)
-
child_idsOne2many → delivery.carriercomodel_name='delivery.carrier'inverse_name='parent_id'string='Destination grid' -
destination_typeSelectiondefault='one'required=Trueselection=[('one', 'One destination'), ('multi', 'Multiple destinations')] -
parent_idMany2one → delivery.carriercomodel_name='delivery.carrier'ondelete='cascade'string='Parent carrier'
-
available_carriers(self, partner, order)If the carrier is multi, we test the availability on children. -
rate_shipment(self, order)We have to override this method for getting the proper price according destination on sales orders. -
send_shipping(self, pickings)We have to override this method for redirecting the result to the proper "child" carrier.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…