Delivery State

delivery_state
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/19.0/delivery_state
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci, Ricard Calvo
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - payment_custom
    - stock_delivery
    - sale_stock
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits stock.res_config_settings_view_form
view_picking_withcarrier_out_form stock.picking xpath Inherits stock_delivery.view_picking_withcarrier_out_form
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)
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/18.0/delivery_state
VERSION
VERSION 1.2.2
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci, arantxa-s73
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_delivery
    - sale_stock
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits stock.res_config_settings_view_form
view_picking_withcarrier_out_form stock.picking xpath Inherits stock_delivery.view_picking_withcarrier_out_form
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)
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/17.0/delivery_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, sbiosca-s73, pablo-marin-s73
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_delivery
    - sale_stock
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits stock.res_config_settings_view_form
view_picking_withcarrier_out_form stock.picking xpath Inherits stock_delivery.view_picking_withcarrier_out_form
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 (5)
  • date_delivered Datetime
    readonly=True string='Delivery Date'
  • date_shipped Date
    readonly=True string='Shipment Date'
  • delivery_state Selection
    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
  • tracking_state Char
    index=True readonly=True tracking=True
  • tracking_state_history Text
    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)
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/16.0/delivery_state
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, David, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.stock res.config.settings xpath Inherits stock.res_config_settings_view_form
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
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 (5)
  • date_delivered Datetime
    readonly=True string='Delivery Date'
  • date_shipped Date
    readonly=True string='Shipment Date'
  • delivery_state Selection
    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
  • tracking_state Char
    index=True readonly=True tracking=True
  • tracking_state_history Text
    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)
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/15.0/delivery_state
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
COMMITTERS
COMMITTERSPedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, David, oca-ci, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:38
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.stock res.config.settings xpath Inherits stock.res_config_settings_view_form
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
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 (5)
  • date_delivered Datetime
    readonly=True string='Delivery Date'
  • date_shipped Date
    readonly=True string='Shipment Date'
  • delivery_state Selection
    readonly=True selection=[('shipping_recorded_in_carrier', 'Shipping recorded in carrier'), ('in_transit', 'In transit'), ('canceled_shipment', 'Canceled shipment'), ('incidence', 'Incidence'), ('customer_delivered', 'Customer delivered'), ('warehouse_delivered', 'Warehouse delivered'), ('no_update', 'No more updates from carrier')] string='Carrier State' tracking=True
  • tracking_state Char
    index=True readonly=True tracking=True
  • tracking_state_history Text
    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)
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/14.0/delivery_state
VERSION
VERSION 3.0.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
COMMITTERS
COMMITTERSmanu, oca-travis, Weblate, OCA-git-bot, David, Ethan Hildick, oca-ci, Joshua Lauer
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
delivery_state_view_delivery_carrier_form delivery.carrier field Inherits delivery.view_delivery_carrier_form
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
Models touched (2)

New fields (2)
  • days_fetch_tracking_state_update Integer
    help="The tracking state is fetched for a picking for this number of days.\nIf no final state has been set, the delivery state will be set to 'no_update'"
  • track_carrier_state Boolean
    default=True
Public methods (2)
  • cancel_shipment(self, pickings)
  • send_shipping(self, pickings)

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=[(DELIVERY_STATE_SHIPPING_RECORDED, 'Shipping recorded in carrier'), (DELIVERY_STATE_IN_TRANSIT, 'In transit'), (DELIVERY_STATE_CANCELED, 'Canceled shipment'), (DELIVERY_STATE_INCIDENCE, 'Incidence'), (DELIVERY_STATE_CUS_DELIVERED, 'Customer delivered'), (DELIVERY_STATE_WH_DELIVERED, 'Warehouse delivered'), (DELIVERY_STATE_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 Char
    copy=False readonly=True
  • tracking_state Char
    copy=False index=True readonly=True string='Tracking state' tracking=True
  • tracking_state_history Text
    copy=False readonly=True string='Tracking state history'
Public methods (1)
  • 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.
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/13.0/delivery_state
VERSION
VERSION 2.0.3
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
COMMITTERS
COMMITTERSPedro M. Baeza, david, OCA Transbot, oca-travis, Weblate, OCA-git-bot, David, Marçal Isern, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
Models touched (2)

New fields (0)

No new fields.

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

New fields (5)
  • date_delivered Datetime
    readonly=True string='Delivery Date'
  • date_shipped Date
    readonly=True string='Shipment Date'
  • delivery_state Selection
    readonly=True selection=[('shipping_recorded_in_carrier', 'Shipping recorded in carrier'), ('in_transit', 'In transit'), ('canceled_shipment', 'Canceled shipment'), ('incidence', 'Incidence'), ('customer_delivered', 'Customer delivered'), ('warehouse_delivered', 'Warehouse delivered'), ('no_update', 'No more updates from carrier')] string='Carrier State' tracking=True
  • tracking_state Char
    index=True readonly=True string='Tracking state' tracking=True
  • tracking_state_history Text
    readonly=True string='Tracking state history'
Public methods (1)
  • 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.
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/12.0/delivery_state
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), FactorLibre, Trey (www.trey.es)
COMMITTERS
COMMITTERSPedro M. Baeza, david, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings xpath Inherits stock.res_config_settings_view_form
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
Models touched (4)

New fields (0)

No new fields.

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

New fields (1)
  • send_delivery_confirmation Boolean
    string='When the delivery is done send a confirmation email to the customer with the tracking number.'
Public methods (0)

No public methods.

New fields (1)
  • send_delivery_confirmation Boolean
    readonly=False related='company_id.send_delivery_confirmation' string='Send Delivery Confirmation'
Public methods (0)

No public methods.

New fields (5)
  • date_delivered Datetime
    readonly=True string='Delivery Date'
  • date_shipped Date
    readonly=True string='Shipment Date'
  • delivery_state Selection
    readonly=True selection=[('shipping_recorded_in_carrier', 'Shipping recorded in carrier'), ('in_transit', 'In transit'), ('canceled_shipment', 'Canceled shipment'), ('incidence', 'Incidence'), ('customer_delivered', 'Customer delivered'), ('warehouse_delivered', 'Warehouse delivered')] string='Carrier State' track_visibility='onchange'
  • tracking_state Char
    index=True readonly=True string='Tracking state' track_visibility='always'
  • tracking_state_history Text
    readonly=True string='Tracking state history'
Public methods (3)
  • force_shipping_confirmation_email_send(self)
    We'll be using the core method but with a different template as we want to ensure that the shipping notification is sent to the right person. For example, a customer pays for a present that will be sent to a friend. The confirmation email should go to him. Sending it to the friend, would spoil the surprise
  • send_to_shipper(self)
    Send delivery email to customer if configured
  • 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.