Delivery Dachser
delivery_dachser · OCA/delivery-carrier
Health
67/100
fair
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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/quotationswith currency conversion and automatic Incoterm-to-Frankatur mapping (EXW,FCA,DAP,DDP, etc.). - Compatible with OCA
delivery_price_methodwhen fixed or rule-based local pricing is desired.
- Live rate calculation via
- Shipment & Picking Submission (
stock.picking):- Transport order creation (
POST /rest/v2/transportorders/{basket}) inimported,labelled, orsentbaskets, 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), andstock_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.
- Transport order creation (
- 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).
- Instant attachment of PDF (
- 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 indelivery_state'spod_file.
- Daily Loading Manifest (Transfer List):
- Wizard to download the daily Transfer List PDF (
GET /rest/v2/transferlists/{orderdate}) for the Dachser driver.
- Wizard to download the daily Transfer List PDF (
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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → delivery.carriercomodel_name='delivery.carrier'domain="[('delivery_type', '=', 'dachser')]"required=Truestring='Dachser Delivery Method' -
order_dateDatedefault=fields.Date.context_todayrequired=Truestring='Order Date (Transfer List)' -
order_groupCharhelp='Filter the loading manifest by a specific order group in eLogistics.'string='Order Group (Optional)' -
pdf_fileBinaryreadonly=Truestring='Manifest PDF' -
pdf_filenameCharreadonly=Truestring='Filename'
-
action_download_transfer_list(self)
New fields (30)
-
dachser_api_keyCharcopy=Falsegroups='base.group_system'help='X-API-Key token from Dachser API Portal (test or production).' -
dachser_basketSelectiondefault='sent'help='Target eLogistics basket when creating transport orders.'selection=DACHSER_BASKETS -
dachser_client_idCharcopy=Falsegroups='base.group_system'help='Optional X-IBM-Client-Id header if required by your Dachser account.'string='Dachser IBM Client ID' -
dachser_collection_optionSelectiondefault='CN'selection=DACHSER_COLLECTION_OPTIONS -
dachser_collection_time_fromCharhelp='Collection window start time in HH:MM format (e.g. 09:00).' -
dachser_collection_time_toCharhelp='Collection window end time in HH:MM format (e.g. 17:00).' -
dachser_consignor_glnCharhelp='Optional 13-digit Global Location Number of the shipper.'size=13string='Dachser Shipper GLN' -
dachser_consignor_idCharhelp='8-digit customer/shipper account number assigned by Dachser.'string='Dachser Customer ID' -
dachser_default_contentChardefault='Goods'help='Default goods description sent on transportOrderLines (max 20 chars).'size=20 -
dachser_default_packaging_idMany2one → stock.package.typecomodel_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_typeSelectiondefault='none'selection=DACHSER_DELIVERY_NOTICE_TYPES -
dachser_delivery_tail_liftBooleandefault=False -
dachser_divisionSelectiondefault='T'selection=DACHSER_DIVISIONS -
dachser_font_file_nameChardefault='ARIALR.FNT'help='Zebra printer font file name required when using ZPL format.' -
dachser_forwarder_idChardefault='193'help='3-digit Dachser branch code handling collections (e.g. 193).'string='Dachser Branch ID' -
dachser_frost_protectedBooleandefault=False -
dachser_label_formatSelectiondefault='P'help='P = Ready-to-print PDF; Z = ZPL for Zebra thermal printers.'selection=DACHSER_LABEL_FORMATS -
dachser_label_typesSelectiondefault='EAN'selection=DACHSER_LABEL_TYPES -
dachser_logistics_typeSelectiondefault='D'selection=DACHSER_LOGISTICS_TYPES -
dachser_operation_modeSelectiondefault='transportorder'selection=DACHSER_OPERATION_MODES -
dachser_order_groupCharhelp='Optional order group name in eLogistics for Transfer Lists.'size=30 -
dachser_packaging_fSelectiondefault='EU'selection=DACHSER_PACKAGING_Fstring='Dachser Packaging (F)' -
dachser_packaging_tSelectiondefault='EU'selection=DACHSER_PACKAGING_Tstring='Dachser Packaging (T)' -
dachser_product_fSelectiondefault='N'selection=DACHSER_PRODUCTS_Fstring='Dachser Product (F)' -
dachser_product_tSelectiondefault='Y'selection=DACHSER_PRODUCTS_Tstring='Dachser Product (T)' -
dachser_save_quotationBooleandefault=False -
dachser_self_collectorBooleandefault=False -
dachser_termSelectiondefault='031'selection=DACHSER_TERMS -
dachser_use_order_incotermBooleandefault=Truehelp='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_typeSelectionondelete={'dachser': 'set default'}selection_add=[('dachser', 'Dachser')]
-
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_typeSelectiondefault='none'help='Delivery pre-notice preference for the consignee (by phone or electronic).'selection=DACHSER_DELIVERY_NOTICE_TYPESstring='Dachser Delivery Notice' -
dachser_glnCharcopy=Falsehelp='13-digit Global Location Number for EDI/API identification in Dachser.'size=13string='GLN Code (Dachser)' -
dachser_partner_idCharcopy=Falsehelp='8-digit customer/consignee identifier assigned by Dachser (optional).'string='Dachser Partner ID' -
dachser_tail_liftBooleandefault=Falsehelp='Check if the consignee requires a truck with a tail-lift on Dachser deliveries.'string='Requires Tail-Lift (Dachser)'
No public methods.
New fields (3)
-
dachser_packaging_codeSelectiondefault='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_CODESstring='Dachser Packaging Type' -
dachser_stackableBooleandefault=Truehelp='Indicates whether goods can be stacked on top of this package type.'string='Stackable (Dachser)' -
package_carrier_typeSelectionondelete={'dachser': 'set default'}selection_add=[('dachser', 'Dachser')]
-
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_ssccCharcopy=Falsehelp='18-digit SSCC (NVE) license plate code assigned by Dachser to this package/pallet.'index=Truestring='Dachser SSCC License Plate'
No public methods.
Loading…