Delivery Carrier Shipping Label

delivery_carrier_shipping_label
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/18.0/delivery_carrier_shipping_label
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Camptocamp
COMMITTERS
COMMITTERSFlorian da Costa, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - delivery
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
delivery_carrier_option_view_form delivery_base.delivery_carrier_option.view_form delivery.carrier.option form New
delivery_carrier_option_view_list delivery_base.delivery_carrier_option.view_list delivery.carrier.option list New
delivery_carrier_template_option_view_form delivery_base.delivery_carrier_option.view_form delivery.carrier.template.option form New
delivery_carrier_template_option_view_list delivery_base.delivery_carrier_template_option.view_list delivery.carrier.template.option list New
view_delivery_carrier_form delivery_base.delivery.carrier.view_form delivery.carrier xpath Inherits delivery.view_delivery_carrier_form
view_picking_withcarrier_out_form stock.picking xpath Inherits stock_delivery.view_picking_withcarrier_out_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • send_shipping(self, pickings)
    Handle labels and if we have them. Expected format is {'labels': [{}, ...]} The dicts are input for stock.picking#attach_label

New fields (3)
  • attachment_id Many2one → ir.attachment
    comodel_name='ir.attachment' ondelete='cascade' required=True string='Attachement'
  • file_type Char
    default='pdf' string='File type'
  • package_id Many2one → stock.quant.package
    comodel_name='stock.quant.package' string='Pack'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • attach_shipping_label(self, label)
    Attach a label returned by send_to_shipper to a picking
  • get_shipping_label_values(self, label)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/delivery-carrier
PULL REQUEST
PULL REQUEST[19.0][MIG] delivery_carrier_shipping_label: Migration to 19.0 (#1090)