Delivery CBL

delivery_cbl
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/17.0/delivery_cbl
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Sygel
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Sygel
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, sygel, Angel Rivas, Manuel Regidor
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/delivery-carrier:
    - delivery_package_number
    - base_delivery_carrier_label
    - delivery_carrier_info
odoo/odoo:
    - stock_delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - 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 adds [CBL](https://https://www.cbl-logistica.com/) to the
available carriers.

The following operations are supported:
- Register shippings
- Generate shipping labels when shippings are registered. The PDF is generated using
  the labelary API (http://api.labelary.com/).
- Validate shippings (both manually and automatically)
- Cancel shippings
- Generate the CBL Manifest

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
cbl_view_delivery_carrier_form delivery.carrier xpath Inherits delivery.view_delivery_carrier_form
cbl_view_picking_form stock.picking field Inherits stock_delivery.view_picking_withcarrier_out_form
report_cbl_manifest report_cbl_manifest ir.ui.view qweb New
wizard_confirm_cbl_pickings wizard.confirm.cbl.pickings.form wizard.confirm.cbl.pickings form New
Models touched (4)

New fields (9)
  • cbl_cash_on_delivery Boolean
    help='If checked, it means that the carrier is paid with cash. It assumes there is a sale order linked and it will use that total amount as the value to be paid' string='Cash On Delivery'
  • cbl_client_code Char
    string='Client Code'
  • cbl_client_token Char
    string='Client Token'
  • cbl_freight_type Selection
    default='D' required=True selection=[('D', 'Freight Collect'), ('P', 'Freight Prepaid')] string='Freight Type'
  • cbl_label_format Selection
    default='zpl' help='Format to generate shipping labels.\nIf PDF is selected, labels will be generated using an external service (labelary.com).' selection=[('zpl', 'ZPL'), ('pdf', 'PDF')] string='Label Format'
  • cbl_needs_confirmation Boolean
    help='If checked, expeditions need to be confirmed after the tracking number is generated to be officially introduced in CBL pending shipments database.' string='Needs Confirmation'
  • cbl_password Char
    string='Password'
  • cbl_user Char
    string='User'
  • delivery_type Selection
    ondelete={'cbl': <expr>} selection_add=[('cbl', 'CBL')]
Public methods (5)
  • cbl_cancel_shipment(self, pickings)
  • cbl_confirm_shipment(self, pickings)
  • cbl_confirm_shipment_cron(self)
  • cbl_send_shipping(self, pickings)
  • cdl_generate_labels(self, picking, tracking_ref, labels_info)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • get_manifest_file(self)

New fields (1)
  • cbl_confirmed Boolean
    default=False readonly=True
Public methods (2)
  • action_open_wizard_confirm_cbl_pickings(self)
  • cbl_confirm_shipment(self)

New fields (1)
  • picking_ids Many2many → stock.picking
    args: 'stock.picking'
Public methods (2)
  • action_confirm_cbl_pickings(self)
  • default_get(self, fields)