Repository
OCA/delivery-carrier · module folder · Try on Runboat
Module version
1.1.0
Category
Delivery
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/delivery-carrier
Last tracking update
2026-08-07 09:06:24
Authors
Odoo Community Association (OCA), Tecnativa, FactorLibre, Trey (www.trey.es)
Maintainers
Odoo Community Association (OCA), Tecnativa, FactorLibre, Trey (www.trey.es)
Committers
Carlos Lopez, Weblate, Ricard Calvo, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
delivery_correos_express, delivery_dhl_parcel, delivery_mrw, delivery_seur_atlas
Description
This module adds additional functions that will be needed for the
carrier developments. It provides fields to be able to contemplate the
tracking states and also adds a global field so it can have generic
states in addition to the ones carrier gives us.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.stock res.config.settings form Inherits stock.res_config_settings_view_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)

New fields (0)

No new fields.

Public methods (2)
  • cancel_shipment(self, pickings)
  • send_shipping(self, pickings)

New fields (2)
  • delivery_state_delivered_email_validation Boolean
    default=False string='Email Confirmation delivered picking'
  • delivery_state_delivered_mail_template_id Many2one → mail.template
    comodel_name='mail.template' domain="[('model', '=', 'stock.picking')]" string='Email Template delivered picking'
Public methods (0)

No public methods.

New fields (2)
  • delivery_state_delivered_email_validation Boolean
    readonly=False related='company_id.delivery_state_delivered_email_validation'
  • delivery_state_delivered_mail_template_id Many2one
    readonly=False related='company_id.delivery_state_delivered_mail_template_id'
Public methods (0)

No public methods.

New fields (9)
  • date_delivered Datetime
    copy=False readonly=True string='Delivery Date'
  • date_shipped Date
    copy=False readonly=True string='Shipment Date'
  • delivery_state Selection
    copy=False readonly=True selection=[('shipping_recorded_in_carrier', 'Shipping recorded in carrier'), ('in_transit', 'In transit'), ('canceled_shipment', 'Canceled shipment'), ('incident', 'Incident'), ('customer_delivered', 'Customer delivered'), ('warehouse_delivered', 'Warehouse delivered'), ('no_update', 'No more updates from carrier')] string='Carrier State' tracking=True
  • pod_error Char
    copy=False readonly=True string='Proof of Delivery Error'
  • pod_file Binary
    copy=False readonly=True string='Proof of Delivery File'
  • pod_filename Char
    copy=False readonly=True string='Proof of Delivery Filename'
  • tracking_json Json
    copy=False readonly=True
  • tracking_state Char
    copy=False index=True readonly=True tracking=True
  • tracking_state_history Text
    copy=False readonly=True
Public methods (2)
  • tracking_state_update(self)
    Call to the service provider API which should have the method defined in the model as: <my_provider>_tracking_state_update It can be triggered manually or by the cron.
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…