Delivery DHL Parcel
delivery_dhl_parcel · OCA/l10n-spain
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Description
Este módulo integra la API de DHL Parcel con Odoo. No es válido para otras integraciones de DHL como el Express, que usan otras APIs.
IMPORTANTE: Hay varias APIs distintas para DHL España y DHL Parcel, esta API solo funciona para una de ellas. Para notificar y pedir las credenciales correctas a tu comercial de integración, se puede pasar el documento que hay en /doc para indicar exactamente cuál es la API que se quiere usar. El formato de las credenciales que se usan en esta es el siguiente:
Usuario: 11000000EMPRESA Pass: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Puede que se acepte algún otro formato, pero no ha sido posible verificarlo.
DISCLAIMER: This app is independently developed and is not affiliated with, endorsed by, verified by, certified by, or approved by DHL. DHL is a trademark of DHL International GmbH and is referenced only to describe compatibility with DHL services.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
delivery_endday_wizard_form |
dhl.parcel.endday.wizard | form | New | |
view_delivery_carrier_form |
delivery.carrier | form | Inherits delivery.view_delivery_carrier_form | |
view_picking_withcarrier_out_form |
stock.picking | form | Inherits stock_delivery.view_picking_withcarrier_out_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
-
delivery_typeSelectionondelete={'dhl_parcel': 'set default'}selection_add=[('dhl_parcel', 'DHL Parcel')] -
dhl_parcel_cash_on_deliveryBooleanhelp='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. It will also exclude this carrier from the e-commerce checkout.'string='Cash on delivery DHL' -
dhl_parcel_customer_codeCharstring='DHL Parcel customer code' -
dhl_parcel_incotermSelectionselection=DHL_PARCEL_INCOTERMS_STATICstring='DHL Parcel incoterms' -
dhl_parcel_insuranceBooleanhelp='If checked, the shipment will be declared as insured. It assumes there is a sale order linked and it will use the picking lines total as the declared insurance value.'string='Insured shipment' -
dhl_parcel_insurance_expensesSelectiondefault='P'selection=[('P', 'Paid by sender'), ('D', 'Paid by recipient')]string='Insurance expenses' -
dhl_parcel_label_formatSelectiondefault='PDF'selection=[('PDF', 'PDF'), ('ZPL', 'ZPL'), ('EPL', 'EPL')]string='Label format' -
dhl_parcel_last_end_day_reportBinarystring='DHL Parcel last manual end day report' -
dhl_parcel_last_end_day_report_nameCharstring='Filename' -
dhl_parcel_passwordCharstring='DHL Parcel Password' -
dhl_parcel_pre_1330Booleanhelp='Activates Feature 714 for Pre 13:30 time-definite delivery.'string='Pre 13:30' -
dhl_parcel_productSelectionhelp='If the product is not specified, it is considered B2B'selection=[('B2B', 'B2B Product'), ('B2C', 'B2C Product')]string='DHL Product' -
dhl_parcel_uidCharstring='DHL Parcel UID'
-
action_open_end_day(self)Action to launch the end day wizard -
dhl_parcel_cancel_shipment(self, pickings)Cancel the expedition -
dhl_parcel_get_label(self, carrier_tracking_ref)Generate label for picking :param str carrier_tracking_ref - tracking reference :returns base64 encoded label -
dhl_parcel_get_tracking_link(self, picking)Provide tracking link for the customer -
dhl_parcel_hold_shipment(self, carrier_tracking_ref)Hold shipment :param str carrier_tracking_ref - tracking reference :returns boolean -
dhl_parcel_rate_shipment(self, order)Not implemented with DHL, these values are so it works with websites -
dhl_parcel_release_shipment(self, carrier_tracking_ref)Release shipment :param str carrier_tracking_ref - tracking reference :returns boolean -
dhl_parcel_send_shipping(self, pickings)Send the package to DHL Parcel :param pickings: A recordset of pickings :return list: A list of dictionaries although in practice it's called one by one and only the first item in the dict is taken. Due to this design, we have to inject vals in the context to be able to add them to the message. -
dhl_parcel_tracking_state_update(self, picking)Tracking state update
-
all_customer_accountsBooleanstring='All customer accounts' -
carrier_idMany2one → delivery.carriercomodel_name='delivery.carrier'domain=[('delivery_type', '=', 'dhl_parcel')]required=Truestring='DHL Parcel Service' -
customer_accountsCharhelp="If doing multiple, input them separated by commas without spaces.\ni.e. '001-000001,002-000002'\nYou can also use 'ALL' to end all of them"string='Customer codes to end day for'
-
button_end_day(self)
No new fields.
Public methods (0)No public methods.
-
dhl_parcel_shipment_heldBooleanstring='DHL Parcel shipment on hold'
-
dhl_parcel_get_label(self)Get DHL Parcel Label for this picking expedition -
dhl_parcel_toggle_hold_shipment(self)Toggle between holding and releasing the DHL Parcel shipment
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…