OdooWiki OCA HUB

PostLogistics Shipping - “Barcode” web service

delivery_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 18.0

Adds a PostLogistics delivery method that prints Swiss Post shipping labels from delivery orders using the Barcode web service. Labels are attached to the delivery order and tracking numbers are written back.

This module lets you configure a PostLogistics delivery method and generate Swiss Post shipping labels directly from a delivery order.

On the delivery method form you get a PostLogistics tab where you enter the Client ID and Client Secret, choose the label layout, output format and resolution, pick a Franking License, a default package type, a tracking number format, and optionally upload a company logo and a ZPL patch string. A Verify button checks that the credentials are valid.

On a delivery order, a "Create Shipping Label 🚚" button appears once the transfer is ready. It sends the packages to PostLogistics and attaches the returned labels to the delivery order; tracking numbers are stored on the order or on each package. A "Delivery instructions" section lets you set a fixed delivery date, a delivery place, and phone or mobile numbers for notification.

Business rules: packages are mandatory, so any move line without a package is automatically put into a package using the default package type. Cash on delivery amounts are taken from the sales order total, but if an order is split across several deliveries or packages you must enter the amount manually on each package. Recipient data (name, street, zip, city, country) is required, and email, mobile or phone must be filled in depending on the notification choice on the customer. Returns can also generate labels.

A new menu "PostLogistics Licenses" under Delivery lets you manage franking licenses per company.

Menus it adds

PostLogistics Licenses
Models and fields (9)
  • stock.move · extends an existing model
  • res.partner · extends an existing modelpostlogistics_notification, delivery_carrier_template_option_ids (Postlogistics Options)
  • stock.picking · extends an existing modeldelivery_phone (Phone), delivery_place, delivery_mobile (Mobile), delivery_fixed_date (Fixed delivery date)
  • delivery.carrier · extends an existing modeldelivery_type, zpl_patch_string (ZPL Patch String), postlogistics_logo (Company Logo on Post labels), postlogistics_office (Domicile Post office), postlogistics_client_id (Client ID), postlogistics_license_id (Franking License), postlogistics_resolution (Resolution), postlogistics_endpoint_url (Endpoint URL), postlogistics_label_layout (Label layout), postlogistics_client_secret (Client Secret), postlogistics_output_format (Output format), postlogistics_proclima_logo (Print ProClima logo), postlogistics_tracking_format (Tracking number format), postlogistics_default_package_type_id
  • stock.package.type · extends an existing modelpackage_carrier_type
  • stock.quant.package · extends an existing modelparcel_tracking, package_carrier_type (Packaging's Carrier), postlogistics_manual_cod_amount (PostLogistics Cash On Delivery Amount)
  • stock.return.picking · extends an existing model
  • postlogistics.license · new modelname, number, sequence, company_id (Company)
  • delivery.carrier.template.option · extends an existing modeltype

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

Sources · Odoo 18.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

Important

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

See Log in

To configure:

  • Go to Inventory -\> Configuration -\> Delivery -\> Shipping Methods
  • Create new shipping methods for PostLogistics and set your login informations in the "PostLogistics" tab
  • Go to Inventory -\> Configuration -\> Delivery -\> Delivery Packages to create the PostLogistics delivery packaging with the relevant Package Code (see section 8.10 of for available codes)

Technical references

"Barcode" web service documentation

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.