Repository
OCA/delivery-carrier · module folder · Try on Runboat
Module version
2.0.1
Category
Delivery
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/delivery-carrier
Last tracking update
2026-08-07 08:22:58
Authors
Odoo Community Association (OCA), Sygel
Maintainers
Odoo Community Association (OCA), Sygel
Committers
sygel, Weblate, OCA-git-bot, oca-ci, Angel Rivas, Manuel Regidor
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits delivery.view_delivery_carrier_form
cbl_view_picking_form stock.picking form 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
HTTP endpoints (0)

No HTTP endpoints found for this module.

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)