OdooWiki OCA HUB

Delivery Carrier Shipping Label

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

This module is kind of a technical module as it adds a new model inheriting the ir.attachment which purpose is to isolate the shipping label and eventually add some specific fields for this kind of document. The final main goal beeing to identifiy these shipping labels from the other documents attached to a picking in order to send it to the right printer.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Stores carrier shipping labels as a dedicated document type linked to transfers, so labels can be told apart from other attachments. When a carrier returns labels, they are automatically attached to the corresponding transfer.

This module adds a dedicated document type for shipping labels, so they can be separated from other files attached to a transfer.

  • A new shipping.label record keeps the label file together with its file type (default pdf) and, optionally, the pack it belongs to.
  • When a delivery carrier returns labels during shipping, they are automatically attached to the matching transfer.
  • Before attaching, the system checks whether labels already exist for that transfer; if so, it stops and asks you to delete the existing labels first.
  • On the transfer form, carrier options can be selected next to the carrier field.
  • The delivery carrier form gains an Options page listing the available options.
  • Screens for carrier options and option templates are provided for viewing and editing them.
  • Stock users can read, change and create labels but not delete them; stock managers can also delete them.

It touches delivery.carrier, stock.picking, shipping.label, delivery.carrier.option and delivery.carrier.template.option.

Depends on

stock_delivery
Models and fields (3)
  • stock.picking · extends an existing model
  • shipping.label · new modelfile_type (File type), package_id (Pack), attachment_id (Attachement)
  • delivery.carrier · extends an existing 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: 1 confirmed, 8 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

This module is meant to be used in carrier specific implementation. In the carrier specific label generation method (delivery.carrier.mycarrier_send_shipping), include the label information in the result with a dedicated key labels. These labels will then be attached to the picking and isolated in the dedicated attachment table. { "labels": [{ "name": "mylabel", "file": base64_label, "file_type": "zpl", # optional "package_id": package_id, # optional } ] }

No verified information in OCA: Installation, Configuration.

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.