Skip to content
Health
100/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by25/25
    6 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
6
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis 0 migration notes 4 models 2 views 0 HTTP endpoints

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.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…