Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 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
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.19 MB
Module directory on disk
Code analysis
0 migration notes
4 models
2 views
0 HTTP endpoints
Description
This module adds UPS to the available carriers.
It allows you to register shippings, generate labels, get rates from order, read shipping states and cancel shipments using UPS webservice, so no need of exchanging any kind of file.
When a sales order is created in Odoo and the UPS carrier is assigned, the shipping price that will be obtained will be the price that the UPS webservice estimates according to the order information (address and products).
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 |
|---|---|---|---|---|
view_delivery_carrier_form |
delivery.carrier | form | Inherits delivery.view_delivery_carrier_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 (17)
-
delivery_typeSelectionondelete={'ups': <expr>}selection_add=[('ups', 'UPS')] -
ups_address_validationSelectiondefault='nonvalidate'help='Whether UPS also checks the city. The street is never validated.'selection=[('nonvalidate', 'Postal code / state'), ('validate', 'City / state / postal code')]string='UPS Address Validation' -
ups_cash_on_deliveryBooleanstring='UPS Cash On Delivery' -
ups_client_idChar -
ups_client_secretChar -
ups_cod_funds_codeSelectionselection=[('1', 'Cash'), ('9', 'Check/Cashier Check/Money Order')]string='UPS Cod Funds Code' -
ups_default_packaging_idMany2one → stock.package.typecomodel_name='stock.package.type'domain=[('package_carrier_type', '=', 'ups')]string='Default Carrier Packaging Type' -
ups_file_formatSelectiondefault='GIF'selection=[('PDF', 'PDF'), ('GIF', 'GIF'), ('ZPL', 'ZPL'), ('EPL', 'EPL'), ('SPL', 'SPL')]string='File format' -
ups_negotiated_ratesBooleanhelp="If checked, UPS will use the account's negotiated rates for shipping."string='Negotiated Rates' -
ups_package_dimension_codeSelectiondefault='IN'help='Is necessary to set dimension code from packages in shipping creation process'selection=[('IN', 'IN'), ('CM', 'CM')]string='Package Dimension code' -
ups_package_weight_codeSelectiondefault='LBS'help='Is necessary to set weight code from packages in shipping creation process'selection=[('LBS', 'LBS'), ('KGS', 'KGS'), ('OZS', 'OZS')]string='Package Weight code' -
ups_service_codeSelectiondefault='11'selection=[('01', 'Next Day Air'), ('02', '2nd Day Air'), ('03', 'Ground'), ('07', 'Express'), ('08', 'Expedited'), ('11', 'UPS Standard'), ('12', '3 Day Select'), ('13', 'Next Day Air Saver'), ('14', 'UPS Next Day Air® Early'), ('17', 'UPS Worldwide Economy DDU'), ('54', 'Express Plus'), ('59', '2nd Day Air A.M.'), ('65', 'UPS Saver'), ('M2', 'First Class Mail'), ('M3', 'Priority Mail'), ('M4', 'Expedited Mail Innovations'), ('M5', 'Priority Mail Innovations'), ('M6', 'Economy Mail Innovations'), ('M7', 'Mail Innovations (MI) Returns'), ('70', 'UPS Access PointTM Economy'), ('71', 'UPS Worldwide Express Freight Midday'), ('72', 'UPS Worldwide Economy DDP'), ('74', 'UPS Express®12:00'), ('75', 'UPS Heavy Goods'), ('82', 'UPS Today Standard'), ('83', 'UPS Today Dedicated Courier'), ('84', 'UPS Today Intercity'), ('85', 'UPS Today Express'), ('86', 'UPS Today Express Saver'), ('96', 'UPS Worldwide Express Freight'), ('C6', 'Roadie XD AM (Morning delivery)'), ('C7', 'Roadie XD PM (Afternoon delivery)'), ('C8', 'Roadie XD (Anytime delivery)'), ('T0', 'Master'), ('T1', 'LTL')]string='Service code' -
ups_shipper_numberCharstring='Shipper number' -
ups_tokenChar -
ups_token_expiration_dateDatetimereadonly=True -
ups_tracking_state_update_syncBooleanhelp='If checked, odoo try to state update from picking according to UPS webservice (you will necessary to activate tracking API)'string='Tracking state update sync' -
ups_use_packages_from_pickingBooleanstring='Use packages from picking'
-
ups_cancel_shipment(self, pickings) -
ups_create_shipping(self, picking)Send packages of the picking to UPS return a list of dicts {'exact_price': 'tracking_number':} suitable for delivery.carrier#send_shipping -
ups_get_label(self, carrier_tracking_ref)Generate label for picking :param picking - stock.picking record :returns attachment file -
ups_get_tracking_link(self, picking) -
ups_rate_shipment(self, order) -
ups_send_shipping(self, pickings) -
ups_tracking_state_update(self, picking) -
ups_update_token(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
package_carrier_typeSelectionselection_add=[('ups', 'UPS')]
No public methods.
New fields (0)
No new fields.
Public methods (1)-
ups_get_label(self)
Loading…
Loading…
Loading…