OdooWiki OCA HUB

Server Environment Delivery

server_environment_delivery folder_open OCA/delivery-carrier open_in_new
Operations/Inventory/Delivery License: AGPL-3

This module allows to configure shipping methods according to server environment.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets administrators configure the production environment setting of delivery carriers from server environment configuration files instead of entering it manually in Odoo.

This module connects delivery carriers with the server environment configuration system. It adds the server environment behaviour to the delivery.carrier model, so the carrier's production environment value can be read from the server's configuration files rather than being typed by hand in the Odoo interface.

  • The only field exposed to server environment configuration is prod_environment on delivery.carrier.
  • Because the carrier model also uses the server environment technical name mixin, carriers can be matched to configuration entries by their technical name.
  • No new menus, screens, buttons, reports, checks, computed values, emails or scheduled jobs are added by this module.
  • It does not change how shipping rates are calculated or how deliveries are created; it only changes where the production environment setting comes from.

In practice, this is useful for deployments where the same database is used in several environments (for example test and production) and the shipping method must point to the correct production endpoint without manual editing. The module is marked as Alpha and depends on the standard delivery module and the server environment module.

Depends on

Models and fields (1)
  • delivery.carrier · new model

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

At the moment, the module only allows to define the field prod_environment by defining a [delivery_carrier] with prod_environment key as follows:

Restrict usage of prod environment:

[delivery_carrier] prod_environment=False

Force usage of prod environment:

[delivery_carrier] prod_environment=False

If the key is not set, the user will still be able to switch the value.

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.