Repository
OCA/delivery-carrier · module folder · Try on Runboat
Module version
1.2.5
Category
Delivery
Folder size
6.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/delivery-carrier
Last tracking update
2026-08-07 07:47:34
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Pedro M. Baeza, Víctor Martínez, Weblate, OCA Transbot, OCA-git-bot, oca-travis, oca-ci, angel
Odoo dependencies
Python dependencies
dicttoxml, xmltodict
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
label_delivery_tnt_oca_template label_delivery_tnt_oca_template ir.ui.view qweb New
view_delivery_carrier_tnt_oca_form delivery.carrier form Inherits delivery.view_delivery_carrier_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (18)
  • delivery_type Selection
    ondelete={'tnt_oca': 'set default'} selection_add=[('tnt_oca', 'TNT')]
  • tnt_collect_time_from Float
    default=10.5 string='Collect time from'
  • tnt_collect_time_to Float
    default=16 string='Collect time to'
  • tnt_default_packaging_id Many2one → product.packaging
    comodel_name='product.packaging' domain=[('package_carrier_type', '=', 'tnt_oca')] string='Default Packaging Type'
  • tnt_line_of_business Selection
    default='1' selection=[('1', 'Domestic transfers'), ('2', 'International non-domestic transfers')] string='Line of business'
  • tnt_oca_ws_account Char
    string='WS Account'
  • tnt_oca_ws_password Char
    string='WS Password'
  • tnt_oca_ws_username Char
    string='WS Username'
  • tnt_payment_indicator Selection
    default='S' selection=[('S', 'Sender pays'), ('R', 'Receiver pays')] string='Payment indicator'
  • tnt_product_code Char
    compute='_compute_tnt_product_code' string='Product code'
  • tnt_product_code_d Selection
    default='09D' selection=[('09D', '9:00 EXPRESS'), ('12D', '12:00 EXPRESS'), ('15D', 'GLOBAL EXPRESS')] string='Product code (Docs)'
  • tnt_product_code_n Selection
    default='15N' selection=[('15N', 'GLOBAL EXPRESS'), ('48N', 'ECONOMY EXPRESS')] string='Product code (Non docs)'
  • tnt_product_service Char
    compute='_compute_tnt_product_service' string='Product service'
  • tnt_product_service_d Selection
    default='EX' selection=[('EX', 'Express'), ('EX09', '9:00 Express'), ('EX10', '10:00 Express'), ('EX12', '12:00 Express')] string='Product service (Docs)'
  • tnt_product_service_n Selection
    default='EX' selection=[('EC', 'Economy Express'), ('EC12', '12:00 Economy Express'), ('EX', 'Express'), ('EX09', '9:00 Express'), ('EX10', '10:00 Express'), ('EX12', '12:00 Express')] string='Product service (Non docs)'
  • tnt_product_type Selection
    default='N' selection=[('D', 'Document (paper/manuals/reports)'), ('N', 'Non-document (packages)')] string='Product type'
  • tnt_service_option Selection
    selection=[('PR', 'PR'), ('EQ', 'EQ'), ('XBB', 'XBB'), ('HZ', 'HZ'), ('BB', 'BB')] string='Service option'
  • tnt_use_packages_from_picking Boolean
    string='Use packages from picking'
Public methods (6)
  • tnt_oca_cancel_shipment(self, pickings)
  • tnt_oca_create_shipping(self, picking)
  • tnt_oca_get_tracking_link(self, picking)
  • tnt_oca_rate_shipment(self, order)
  • tnt_oca_send_shipping(self, pickings)
  • tnt_oca_tracking_state_update(self, picking)

New fields (1)
  • package_carrier_type Selection
    selection_add=[('tnt_oca', 'TNT')]
Public methods (0)

No public methods.

New fields (17)
  • tnt_consignment_cluster_code Char
    sparse='tnt_consignment_data'
  • tnt_consignment_data Serialized
  • tnt_consignment_date Char
    sparse='tnt_consignment_data'
  • tnt_consignment_destination_depot Char
    sparse='tnt_consignment_data'
  • tnt_consignment_destination_depot_day Integer
    sparse='tnt_consignment_data'
  • tnt_consignment_free_circulation Char
    sparse='tnt_consignment_data'
  • tnt_consignment_market Char
    sparse='tnt_consignment_data'
  • tnt_consignment_mumber Char
    sparse='tnt_consignment_data'
  • tnt_consignment_option Char
    sparse='tnt_consignment_data'
  • tnt_consignment_origin_depot Char
    sparse='tnt_consignment_data'
  • tnt_consignment_product Char
    sparse='tnt_consignment_data'
  • tnt_consignment_sort_split Char
    sparse='tnt_consignment_data'
  • tnt_consignment_transit_depot Char
    sparse='tnt_consignment_data'
  • tnt_consignment_transport Char
    sparse='tnt_consignment_data'
  • tnt_consignment_xray Char
    sparse='tnt_consignment_data'
  • tnt_piece_barcode Char
    sparse='tnt_piece_data'
  • tnt_piece_data Serialized
Public methods (0)

No public methods.

Loading…