Repository
OCA/delivery-carrier · module folder · Try on Runboat
Module version
1.0.1
Category
Delivery
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/delivery-carrier
Last tracking update
2026-08-07 08:42:52
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Simone Orsi, Weblate, OCA-git-bot, oca-ci, chaule97
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Compute the delivery method price based on its related delivery product price according to the sales order pricelist.

It allows to have different pricing per customer, prices depending on
dates, ... The pricelist based cost is computed from the delivery
method's product and the sales order's pricelist.

It supports the following use cases:

- When no "external" provider (e.g. DHL, UPS, ...) is used, a new
  provider "Based on Product Pricelist" is available.
- When an external provider is used, a new option in the "Invoice
  Policy" selection, named "Pricelist Cost", overrides the provider's
  cost by the pricelist based cost.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • invoice_policy Selection
    related='carrier_id.invoice_policy'
Public methods (0)

No public methods.

New fields (2)
  • delivery_type Selection
    ondelete={'pricelist': 'set default'} selection_add=[('pricelist', 'Based on Product Pricelist')]
  • invoice_policy Selection
    help="Estimated Cost: the customer will be invoiced the estimated cost of the shipping.\nReal Cost: the customer will be invoiced the real cost of the shipping, the cost of the shipping will be updated on the SO after the delivery.\nDelivery Product Price: the customer will be invoiced the price of the related delivery product based on the pricelist of the sales order. The provider's cost is ignored." ondelete={'pricelist': 'set default'} selection_add=[('pricelist', 'Delivery Product Price')]
Public methods (7)
  • attrs_list(self)
    @property
  • pricelist_cancel_shipment(self, pickings)
  • pricelist_get_tracking_link(self, picking)
  • pricelist_rate_shipment(self, order)
  • pricelist_send_shipping(self, pickings)
  • rate_shipment(self, order)
  • send_shipping(self, pickings)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…