Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 10 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis 1 migration note 4 models 4 views 0 HTTP endpoints

Description

This module adds CBL 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

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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)