OdooWiki OCA HUB

PostLogistics Labels WebService

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

This module uses PostLogistics BarCodes WebService_ to generate labels for your Delivery Orders.

It adds a Create label button on Delivery Orders. A generated label will be an attachement of your Delivery Order.

To see it, please install documents module.

You can create multiple delivery method to match your diffent package types.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Generate Swiss Post (PostLogistics) shipping labels for delivery orders directly from Odoo. Configure your PostLogistics account, licenses, label formats and delivery options, then create labels attached to the delivery order.

This module connects Odoo to the Swiss Post PostLogistics barcode web service so you can produce official shipping labels for your delivery orders.

  • Configure your PostLogistics account in Settings: OAuth authentication (client ID and secret), franking licenses, sender logo, post office, default label layout, output format, resolution, tracking number format and the ProClima logo option.
  • Manage your franking licenses from a dedicated menu under the carriers configuration.
  • Create delivery methods of type 'Post logistics' and choose a license, a basic service and compatible additional services, delivery instructions, label layout, output format and resolution.
  • On a delivery order, extra fields appear for delivery instructions: fixed delivery date, delivery place, phone and mobile.
  • A 'Create label' button generates the label through the web service; the label is stored as an attachment and the tracking number is written on the delivery order and on each package.
  • Cash on delivery amounts are taken from the sales order total; if the order is split across several deliveries or packages, Odoo asks you to enter the amount manually on each package.
  • Tracking links point to the Swiss Post EasyTrack page.

The module touches delivery carriers, delivery orders, packages, company settings and the OAuth authentication wizard.

Menus it adds

Postlogistics Licenses
Models and fields (9)
  • res.company · extends an existing modelpostlogistics_logo (Company Logo on Post labels), postlogistics_office (Domicile Post office), postlogistics_password (Password), postlogistics_username (Username), postlogistics_wsdl_url (WSDL URL), postlogistics_resolution (Default resolution), postlogistics_license_ids (PostLogistics Franking License), postlogistics_label_layout (Default label layout), postlogistics_output_format (Default output format), postlogistics_proclima_logo (Print ProClima logo), postlogistics_tracking_format (Tracking number format)
  • stock.picking · extends an existing modeldelivery_phone (Phone), delivery_place (Delivery Place), delivery_mobile (Mobile), delivery_fixed_date (Fixed delivery date)
  • delivery.carrier · extends an existing modeldelivery_type, allowed_tmpl_options_ids, postlogistics_license_id (PostLogistics Franking License), postlogistics_basic_service_ids (PostLogistics Service Group)
  • postlogistics.auth · new modelstate, client_id (Client ID), client_secret (Client Secret), authentication_url (Authentication url), generate_label_url (Generate label url)
  • res.config.settings · new modelproclima_logo, tracking_format (Tracking number format)
  • stock.quant.package · extends an existing modelpostlogistics_manual_cod_amount (Postlogistics Cash On Delivery Amount)
  • postlogistics.license · new modelname (Description), number (Number), sequence (Sequence), company_id (Company)
  • delivery.carrier.option · extends an existing modelname, allowed_tmpl_options_ids
  • delivery.carrier.template.option · extends an existing modelname, postlogistics_type (PostLogistics option type), postlogistics_basic_service_ids (Basic Services), postlogistics_additonial_service_ids (Compatible Additional Services), postlogistics_delivery_instruction_ids (Compatible Delivery Instructions)

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

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

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

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

terminal Installation and usage

OCA documentation · Odoo 12.0

As a requirement you need to install suds-jurko library. It will fail with the latest and outdated version of suds. https://pypi.python.org/pypi/suds-jurko/0.6

Furthermore, if you want to use the integration server of Postlogistics you will have to patch this library with the following patch:

https://fedorahosted.org/suds/attachment/ticket/239/suds_recursion.patch

A copy of this patch is available in patches folder of this module.

A "Swiss Post Business customer" account is required to use this module.

See Log in_

To configure:

  • Go to Configurations -> Settings -> Postlogistics
  • Set your login informations
  • launch the Update PostLogistics Services

This will load available services and generate carrier options.

Now you can create a carrier method for PostLogistics WebService:

  • First choose a Service group and save
  • Add a Mandatory Carrier option using a Basic Service
  • Save Carrier Method (this will update filters to show you only compatible services)
  • Then add other Optional as default and Optional carrier option from listed
  • Add additional Service and Delivery instructions

Technical references

`"Barcode" web service documentation`_

.. _"Barcode" web service documentation: https://www.post.ch/en/business/a-z-of-subjects/dropping-off-mail-items/business-sending-letters/barcode-support

No verified information in OCA: 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.