GLS Shipping

Odoo GLS integration through the ShipIT API. It prints GLS labels when a delivery order is validated, with parcel shop delivery, cancellation, end-of-day close-out and tracking updates. One module covers every country GLS offers ShipIT in.

Buy on the Odoo App StoreThe catalogue

What it does

  • One GLS parcel per Odoo package when a delivery order is validated, with the label attached to the transfer
  • GLS Parcel and GLS Express
  • Labels as PDF, ZPL (Zebra) or PNG, with the label template set on the shipping method
  • Services loaded from GLS for your account and route, ticked per shipping method
  • Delivery to a GLS parcel shop: search the shops near the delivery address, or enter a shop ID that GLS checks
  • A shipment check with GLS before the label is created, with readable reasons when GLS refuses
  • Cancellation before the parcel is on its way, end-of-day close-out and label reprint
  • Tracking status and events updated on a schedule, with a note in the chatter on delivery
  • Sandbox and production, and a test connection that creates nothing
  • A history row for every GLS call; credentials are visible to administrators only and never logged

Setup

  1. Create a shipping method with the provider GLS (ShipIT).
  2. Enter the client ID and client secret of your GLS developer-portal app and your GLS Contact ID.
  3. Press Test Connection and Load Services, then tick the services to send with every parcel.
  4. Choose the product, the label format and template, and the price setting.
  5. Leave production off until one parcel has been created in the GLS sandbox.

Requirements

  • Odoo 17, 18, 19 or 20, Community edition
  • The Python requests library on the Odoo server
  • A GLS developer-portal app with a client ID and client secret
  • Your GLS Contact ID

What it does not do

ShipIT has no price quote, so the module does not ask GLS for a rate. The price comes from the shipping method's fixed price or its pricing rules. Other carriers are covered by their own modules, for example PostNL and Aramex. For a multi-carrier setup there is also a Sendcloud module.

  • No cash on delivery, insurance, hazardous goods or ident services
  • No exchange, pick-and-ship or pick-and-return
  • A service is only sent where GLS allows it for the destination
  • GLS does not publish service names, cancellation states or problem status codes with the API, so those settings are editable in the module rather than fixed
  • No shop search outside the countries in your GLS contract

Tests

Automated tests, last run
OdooTests passedLast run
1767
1867
1967
2067

The tests ship with the module source, so you can run them on your own server.

Questions

Which countries does it cover?

Every country GLS offers ShipIT in. One module handles the API; the services and products available depend on your GLS account and route.

How does delivery to a parcel shop work?

The GLS Parcel Shop button on the delivery order lists the shops near the delivery address, or you type a shop ID. The shop ID is checked with GLS before the label is created.

Can a label be cancelled?

Yes, until the parcel is on its way or the day is closed out at GLS. After that, use Reprint Label or the end-of-day close-out instead.

Questions about the module?

Tell us which countries you ship to with GLS. We reply within one business day with questions or a time to talk.

Ask a question [email protected]