Delivery TNT OCA

delivery_tnt_oca
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_tnt_oca
VERSION
VERSION 1.2.5
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, oca-ci, angel
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/delivery-carrier:
    - delivery_package_number
    - delivery_state
OCA/product-attribute:
    - product_dimension
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
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES dicttoxml
xmltodict
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits delivery.view_delivery_carrier_form
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.

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_tnt_oca
VERSION
VERSION 1.1.7
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, oca-travis, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/delivery-carrier:
    - delivery_package_number
    - delivery_state
OCA/product-attribute:
    - product_dimension
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
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES dicttoxml
xmltodict
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits delivery.view_delivery_carrier_form
Models touched (3)

New fields (18)
  • delivery_type Selection
    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.