Base module for carrier labels
(0)
355

Base module for carrier labels

FREE

Technical name
base_delivery_carrier_label
License
AGPL-3
Secure dependencies
N/A
Base module for carrier labels

Base module for carrier labels

Beta License: AGPL-3 OCA/delivery-carrier Translate me on Weblate Try me on Runboat

This module adds some function and generic stuff to help for carrier label generation. For example it adds the concept of option on carriers that can differ depending on the picking or class to store carrier accounts This module doesn’t do anything by itself, it serves as a base module for other carrier-specific modules.

Table of contents

Configuration

By default, automatic packaging is enabled.

You can disable it in Inventory / Configuration / Settings, by searching “Default Packages”.

When active, pickings without assigned packages will be grouped into a single one for shipping. This ensures compatibility with connectors that require at least one package to generate labels or tracking references.

NOTE: If the Number of Packages field is manually set but no real packages are defined, this feature overrides it and creates only one package. This may cause confusion when relying solely on that field instead of using Odoo’s standard package objects.

Usage

** How does it works ? **

In picking UI a button “Send to shipper” trigger label generation calling send_to_shipper() in models/stock.picking.py

** How to implement my own carrier ? **

Define a method {carrier}_send_shipping() which is called by _send_shipping native method. Make it return a list of dict of this form :

{
    "exact_price": price,
    "tracking_number": 'number'
    "labels": [{
        "package_id": package_id,
        "name": filename,
        "datas": file_content (base64),
        "file_type": extension,
        "tracking_number": package_number
    }]
}

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp
  • Akretion

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/delivery-carrier project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

0.0 / 5.0
based on 0 ratings
This app does not use any external Python dependencies.
This app has automated tests.

Available languages

Language % translated
Italian / Italiano
100%
Chinese (Simplified) / 简体中文
80%
French / Français
77%
German / Deutsch
52%
Slovenian / slovenščina
37%
Persian / فارس
25%
Portuguese (BR) / Português (BR)
19%
Dutch / Nederlands
9%
Croatian / hrvatski jezik
8%
Spanish / Español
8%
Dutch / Nederlands
7%
Spanish (PE) / Español (PE)
6%
Dutch (BE) / Nederlands (BE)
6%
Serbian (Latin) / srpski
6%
Arabic / الْعَرَبيّة
6%
Spanish (DO) / Español (DO)
6%
Estonian / Eesti keel
6%
English (UK)
6%
Portuguese / Português
6%
Norwegian Bokmål / Norsk bokmål
6%
Spanish (CO) / Español (CO)
6%
Bulgarian / български език
6%
Spanish (AR) / Español (AR)
6%
Romanian / română
6%
Finnish / Suomi
6%
Lithuanian / Lietuvių kalba
6%
Polish / Język polski
6%
Spanish (CL) / Español (CL)
6%
Turkish / Türkçe
6%
Thai / ภาษาไทย
6%
Spanish / Español
6%
Spanish (EC) / Español (EC)
6%
Slovak / Slovenský jazyk
6%
Japanese / 日本語
6%
Hungarian / Magyar
6%
Spanish (VE) / Español (VE)
6%
French (CH) / Français (CH)
6%
Bosnian / bosanski jezik
6%
Chinese (Traditional) / 繁體中文
6%
Spanish (MX) / Español (MX)
6%
Mongolian / монгол
6%
Portuguese / Português
6%
Croatian / hrvatski jezik
6%
Vietnamese / Tiếng Việt
6%
Ukrainian / українська
6%
Turkish / Türkçe
6%
French (CA) / Français (CA)
6%
Swedish / Svenska
6%
Macedonian / македонски јазик
6%
Hebrew / עִבְרִי
6%
Indonesian / Bahasa Indonesia
6%
Latvian / latviešu valoda
5%
Vietnamese / Tiếng Việt
5%
Spanish (CR) / Español (CR)
5%
Russian / русский язык
5%
Greek / Ελληνικά
5%
Spanish (PY) / Español (PY)
5%
Lithuanian / Lietuvių kalba
5%
Galician / Galego
1%
Galician / Galego
1%