delivery_correos_express
Integrates Odoo's delivery operations with the Correos Express carrier API to manage shipments and tracking.
Key Features
- delivery.carrier: Adds a Correos Express delivery method with required credentials, service options, and label type settings.
- delivery.carrier: Builds shipment payloads from pickings, sends them to the Correos Express API, records tracking numbers, and attaches returned labels.
- delivery.carrier: Normalizes partner contact details so Correos Express receives formatted addresses and phone numbers.
- delivery.carrier: Retrieves tracking updates from Correos Express and writes the latest status and history on the related picking.
- delivery.carrier: Posts an explanatory message instead of attempting to cancel Correos Express shipments because the API lacks a cancellation endpoint.
- delivery.carrier: Supplies a placeholder rate computation that returns the carrier product price while warning that the API does not quote rates.
- delivery.carrier: Includes package counts and sequencing from the picking when preparing Correos Express shipments.
- stock.picking: Adds a button to re-download Correos Express labels, decode them, and post them as attachments on the picking.
- integration: Handles authenticated Correos Express API requests for shipment creation, label download, and tracking with centralized error reporting.