Delivery TNT OCA
delivery_tnt_oca · OCA/delivery-carrier
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 38 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
6.08 MB
Module directory on disk
Code analysis
1 migration note
3 models
2 views
0 HTTP endpoints
Migration considerations
view_delivery_carrier_tnt_oca_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_typeSelectionondelete={'tnt_oca': 'set default'}selection_add=[('tnt_oca', 'TNT')] -
tnt_collect_time_fromFloatdefault=10.5string='Collect time from' -
tnt_collect_time_toFloatdefault=16string='Collect time to' -
tnt_default_packaging_idMany2one → product.packagingcomodel_name='product.packaging'domain=[('package_carrier_type', '=', 'tnt_oca')]string='Default Packaging Type' -
tnt_line_of_businessSelectiondefault='1'selection=[('1', 'Domestic transfers'), ('2', 'International non-domestic transfers')]string='Line of business' -
tnt_oca_ws_accountCharstring='WS Account' -
tnt_oca_ws_passwordCharstring='WS Password' -
tnt_oca_ws_usernameCharstring='WS Username' -
tnt_payment_indicatorSelectiondefault='S'selection=[('S', 'Sender pays'), ('R', 'Receiver pays')]string='Payment indicator' -
tnt_product_codeCharcompute='_compute_tnt_product_code'string='Product code' -
tnt_product_code_dSelectiondefault='09D'selection=[('09D', '9:00 EXPRESS'), ('12D', '12:00 EXPRESS'), ('15D', 'GLOBAL EXPRESS')]string='Product code (Docs)' -
tnt_product_code_nSelectiondefault='15N'selection=[('15N', 'GLOBAL EXPRESS'), ('48N', 'ECONOMY EXPRESS')]string='Product code (Non docs)' -
tnt_product_serviceCharcompute='_compute_tnt_product_service'string='Product service' -
tnt_product_service_dSelectiondefault='EX'selection=[('EX', 'Express'), ('EX09', '9:00 Express'), ('EX10', '10:00 Express'), ('EX12', '12:00 Express')]string='Product service (Docs)' -
tnt_product_service_nSelectiondefault='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_typeSelectiondefault='N'selection=[('D', 'Document (paper/manuals/reports)'), ('N', 'Non-document (packages)')]string='Product type' -
tnt_service_optionSelectionselection=[('PR', 'PR'), ('EQ', 'EQ'), ('XBB', 'XBB'), ('HZ', 'HZ'), ('BB', 'BB')]string='Service option' -
tnt_use_packages_from_pickingBooleanstring='Use packages from picking'
-
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_typeSelectionselection_add=[('tnt_oca', 'TNT')]
No public methods.
New fields (17)
-
tnt_consignment_cluster_codeCharsparse='tnt_consignment_data' -
tnt_consignment_dataSerialized -
tnt_consignment_dateCharsparse='tnt_consignment_data' -
tnt_consignment_destination_depotCharsparse='tnt_consignment_data' -
tnt_consignment_destination_depot_dayIntegersparse='tnt_consignment_data' -
tnt_consignment_free_circulationCharsparse='tnt_consignment_data' -
tnt_consignment_marketCharsparse='tnt_consignment_data' -
tnt_consignment_mumberCharsparse='tnt_consignment_data' -
tnt_consignment_optionCharsparse='tnt_consignment_data' -
tnt_consignment_origin_depotCharsparse='tnt_consignment_data' -
tnt_consignment_productCharsparse='tnt_consignment_data' -
tnt_consignment_sort_splitCharsparse='tnt_consignment_data' -
tnt_consignment_transit_depotCharsparse='tnt_consignment_data' -
tnt_consignment_transportCharsparse='tnt_consignment_data' -
tnt_consignment_xrayCharsparse='tnt_consignment_data' -
tnt_piece_barcodeCharsparse='tnt_piece_data' -
tnt_piece_dataSerialized
No public methods.
Loading…