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 IDNameModelTypeStatus
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_ids One2many → delivery.carrier
    comodel_name='delivery.carrier' inverse_name='parent_id' string='Destination grid'
  • destination_type Selection
    default='one' required=True selection=[('one', 'One destination'), ('multi', 'Multiple destinations')]
  • parent_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' ondelete='cascade' string='Parent carrier'
Public methods (3)
  • 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…