Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.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
1.08 MB
Module directory on disk
Code analysis 0 migration notes 6 models 6 views 0 HTTP endpoints

Description

This module integrates Odoo's delivery framework (along with delivery_package_number, delivery_state, and stock_picking_volume) with Dachser REST API v2 (https://api-gateway.dachser.com/rest/v2), providing European Logistics (T) and Food Logistics (F) shipping automation:

  • Online Freight Quotations (sale.order):
    • Live rate calculation via POST /rest/v2/quotations with currency conversion and automatic Incoterm-to-Frankatur mapping (EXW, FCA, DAP, DDP, etc.).
    • Compatible with OCA delivery_price_method when fixed or rule-based local pricing is desired.
  • Shipment & Picking Submission (stock.picking):
    • Transport order creation (POST /rest/v2/transportorders/{basket}) in imported, labelled, or sent baskets, plus standalone label generation (POST /rest/v2/labels) with automatic test-environment fallback.
    • Native integration with delivery_package_number (number_of_packages), delivery_state (delivery_state, tracking_state, tracking_state_history, tracking_json, date_delivered, pod_file), and stock_picking_volume (volume).
    • Automatic assignment of 18-digit GS1 SSCC codes to physical Odoo packages (stock.quant.package).
    • Automatic 30-character street and name splitting complying with Dachser REST API v2 schema constraints.
  • Label Generation (PDF & Thermal ZPL):
    • Instant attachment of PDF (P) or ZPL (Z) shipping labels on the picking, supporting GS1 EAN 1D barcodes and 2D DataMatrix (DMC) labels.
    • One-click label reprinting (dachser_get_label), deferred TMS confirmation (dachser_send_to_tms), and return label generation (dachser_get_return_label).
  • Live Tracking, Event History & Signed POD:
    • Direct link to Dachser eLogistics ShipmentPointer.
    • Live shipment status (GET /rest/v2/shipmentstatus), full chronological event history (GET /rest/v2/shipmenthistory), and automatic signed Proof of Delivery (POD PDF) download (GET /rest/v2/pods) stored in delivery_state's pod_file.
  • Daily Loading Manifest (Transfer List):
    • Wizard to download the daily Transfer List PDF (GET /rest/v2/transferlists/{orderdate}) for the Dachser driver.

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 6

XML IDNameModelTypeStatus
stock_package_type_form_inherit_dachser stock.package.type.form.inherit.dachser stock.package.type form Inherits stock_delivery.stock_package_type_form_delivery
view_dachser_transfer_list_wizard_form dachser.transfer.list.wizard.form dachser.transfer.list.wizard form New
view_delivery_carrier_form delivery.carrier form Inherits delivery.view_delivery_carrier_form
view_partner_form_inherit_dachser res.partner.form.inherit.dachser res.partner form Inherits base.view_partner_form
view_picking_form_inherit_dachser stock.picking form Inherits stock_delivery.view_picking_withcarrier_out_form
view_quant_package_form_inherit_dachser stock.quant.package.form.inherit.dachser stock.quant.package form Inherits stock.view_quant_package_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (5)
  • carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' domain="[('delivery_type', '=', 'dachser')]" required=True string='Dachser Delivery Method'
  • order_date Date
    default=fields.Date.context_today required=True string='Order Date (Transfer List)'
  • order_group Char
    help='Filter the loading manifest by a specific order group in eLogistics.' string='Order Group (Optional)'
  • pdf_file Binary
    readonly=True string='Manifest PDF'
  • pdf_filename Char
    readonly=True string='Filename'
Public methods (1)
  • action_download_transfer_list(self)

New fields (30)
  • dachser_api_key Char
    copy=False groups='base.group_system' help='X-API-Key token from Dachser API Portal (test or production).'
  • dachser_basket Selection
    default='sent' help='Target eLogistics basket when creating transport orders.' selection=DACHSER_BASKETS
  • dachser_client_id Char
    copy=False groups='base.group_system' help='Optional X-IBM-Client-Id header if required by your Dachser account.' string='Dachser IBM Client ID'
  • dachser_collection_option Selection
    default='CN' selection=DACHSER_COLLECTION_OPTIONS
  • dachser_collection_time_from Char
    help='Collection window start time in HH:MM format (e.g. 09:00).'
  • dachser_collection_time_to Char
    help='Collection window end time in HH:MM format (e.g. 17:00).'
  • dachser_consignor_gln Char
    help='Optional 13-digit Global Location Number of the shipper.' size=13 string='Dachser Shipper GLN'
  • dachser_consignor_id Char
    help='8-digit customer/shipper account number assigned by Dachser.' string='Dachser Customer ID'
  • dachser_default_content Char
    default='Goods' help='Default goods description sent on transportOrderLines (max 20 chars).' size=20
  • dachser_default_packaging_id Many2one → stock.package.type
    comodel_name='stock.package.type' domain=[('package_carrier_type', '=', 'dachser')] help='Default weight, height, width and length for Dachser packages.' string='Dachser Default Packaging'
  • dachser_delivery_notice_type Selection
    default='none' selection=DACHSER_DELIVERY_NOTICE_TYPES
  • dachser_delivery_tail_lift Boolean
    default=False
  • dachser_division Selection
    default='T' selection=DACHSER_DIVISIONS
  • dachser_font_file_name Char
    default='ARIALR.FNT' help='Zebra printer font file name required when using ZPL format.'
  • dachser_forwarder_id Char
    default='193' help='3-digit Dachser branch code handling collections (e.g. 193).' string='Dachser Branch ID'
  • dachser_frost_protected Boolean
    default=False
  • dachser_label_format Selection
    default='P' help='P = Ready-to-print PDF; Z = ZPL for Zebra thermal printers.' selection=DACHSER_LABEL_FORMATS
  • dachser_label_types Selection
    default='EAN' selection=DACHSER_LABEL_TYPES
  • dachser_logistics_type Selection
    default='D' selection=DACHSER_LOGISTICS_TYPES
  • dachser_operation_mode Selection
    default='transportorder' selection=DACHSER_OPERATION_MODES
  • dachser_order_group Char
    help='Optional order group name in eLogistics for Transfer Lists.' size=30
  • dachser_packaging_f Selection
    default='EU' selection=DACHSER_PACKAGING_F string='Dachser Packaging (F)'
  • dachser_packaging_t Selection
    default='EU' selection=DACHSER_PACKAGING_T string='Dachser Packaging (T)'
  • dachser_product_f Selection
    default='N' selection=DACHSER_PRODUCTS_F string='Dachser Product (F)'
  • dachser_product_t Selection
    default='Y' selection=DACHSER_PRODUCTS_T string='Dachser Product (T)'
  • dachser_save_quotation Boolean
    default=False
  • dachser_self_collector Boolean
    default=False
  • dachser_term Selection
    default='031' selection=DACHSER_TERMS
  • dachser_use_order_incoterm Boolean
    default=True help='If enabled and the order/picking has an Incoterm (EXW, FCA, DAP, DDP...), automatically map it to the corresponding Dachser 3-digit term code.' string='Map Dachser Term from Incoterm'
  • delivery_type Selection
    ondelete={'dachser': 'set default'} selection_add=[('dachser', 'Dachser')]
Public methods (9)
  • action_open_transfer_list_wizard(self)
  • dachser_cancel_shipment(self, pickings)
  • dachser_get_label(self, picking)
  • dachser_get_return_label(self, pickings, tracking_number=None, origin_date=None)
  • dachser_get_tracking_link(self, picking)
  • dachser_rate_shipment(self, order)
  • dachser_send_order_to_tms(self, picking)
  • dachser_send_shipping(self, pickings)
  • dachser_tracking_state_update(self, picking)

New fields (4)
  • dachser_delivery_notice_type Selection
    default='none' help='Delivery pre-notice preference for the consignee (by phone or electronic).' selection=DACHSER_DELIVERY_NOTICE_TYPES string='Dachser Delivery Notice'
  • dachser_gln Char
    copy=False help='13-digit Global Location Number for EDI/API identification in Dachser.' size=13 string='GLN Code (Dachser)'
  • dachser_partner_id Char
    copy=False help='8-digit customer/consignee identifier assigned by Dachser (optional).' string='Dachser Partner ID'
  • dachser_tail_lift Boolean
    default=False help='Check if the consignee requires a truck with a tail-lift on Dachser deliveries.' string='Requires Tail-Lift (Dachser)'
Public methods (0)

No public methods.

New fields (3)
  • dachser_packaging_code Selection
    default='EU' help='Official package/pallet type code in the Dachser API (e.g. EU = Euro Pallet, EP = Dusseldorf Half Pallet, KT = Carton, PA = Pallet).' selection=DACHSER_PACKAGING_CODES string='Dachser Packaging Type'
  • dachser_stackable Boolean
    default=True help='Indicates whether goods can be stacked on top of this package type.' string='Stackable (Dachser)'
  • package_carrier_type Selection
    ondelete={'dachser': 'set default'} selection_add=[('dachser', 'Dachser')]
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • dachser_get_label(self)
  • dachser_send_to_tms(self)

New fields (1)
  • dachser_sscc Char
    copy=False help='18-digit SSCC (NVE) license plate code assigned by Dachser to this package/pallet.' index=True string='Dachser SSCC License Plate'
Public methods (0)

No public methods.

Loading…