OdooWiki OCA HUB

Multiple ZIP intervals for the same delivery method

delivery_carrier_multi_zip folder_open OCA/delivery-carrier open_in_new
Delivery License: AGPL-3

This module allows to set more than one interval of zip codes for matching each shipping method.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you define several ZIP code intervals on a single delivery method, so the carrier is only offered when the customer's ZIP falls inside one of those ranges.

This module extends the delivery method configuration so that one shipping method can cover many ZIP code intervals instead of a single prefix list.

On the delivery method form (Delivery methods), a new radio choice lets you pick how ZIP codes are matched: "Prefixes" (the standard behaviour) or "Ranges". When "Ranges" is selected, the standard prefix list is hidden and a new editable list called "ZIP codes" appears, where you enter a From and To value per line. Each line is automatically named "from - to".

When Odoo checks whether a delivery method is available for a customer address, it first applies the normal matching rules. If the method is set to "Ranges" and interval lines exist, the address is only accepted when the customer's ZIP code falls between the From and To values of at least one line. Otherwise the carrier is not offered.

Access rights are added for the new ZIP interval lines: salespeople, partner managers and stock users can read them, while sales and stock managers can also create, edit and delete them.

The module touches the delivery.carrier model and adds a new delivery.carrier.zip model, and it modifies the delivery method form view.

Depends on

stock_delivery
Models and fields (2)
  • delivery.carrier · extends an existing modelzip_option, zip_range_ids (ZIP codes)
  • delivery.carrier.zip · new modelname, zip_to, zip_from, carrier_id

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/delivery-carrier.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure delivery methods with multiple ZIPs:

  • Go to Inventory \> Configuration \> Delivery \> Delivery Methods
  • Create or edit an existing record.
  • Set Zip Option as Ranges.
  • Introduce a line for each interval of zip codes.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.