Metadata-Version: 2.1
Name: odoo-addon-delivery_ups_oca
Version: 18.0.1.0.1
Requires-Python: >=3.10
Requires-Dist: odoo-addon-delivery_package_number==18.0.*
Requires-Dist: odoo-addon-delivery_price_method==18.0.*
Requires-Dist: odoo-addon-delivery_state==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Integrate UPS webservice
Home-page: https://github.com/OCA/delivery-carrier
License: AGPL-3
Author: Hunki Enterprises BV, Tecnativa, ForgeFlow, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 4 - Beta
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

================
Delivery UPS OCA
================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:291400f039b3a47f19eed87238c85457b3df64562aeaafb4b7df5ee963a4761d
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github
    :target: https://github.com/OCA/delivery-carrier/tree/18.0/delivery_ups_oca
    :alt: OCA/delivery-carrier
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/delivery-carrier-18-0/delivery-carrier-18-0-delivery_ups_oca
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds `UPS <https://ups.com>`__ 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).

**Table of contents**

.. contents::
   :local:

Configuration
=============

To configure this module, you need to:

1. Add a Shipping Method with Provider ``UPS`` and fill in your UPS
   credentials (Client ID and Client Secret)
2. Configure in Odoo all required fields of the UPS tab with your
   account data https://wwwapps.ups.com/ppc/ppc.html (Shipper number,
   Default Packaging, Package Dimension Code, Package Weight Code and
   File Format).
3. If yo have "Tracking state update sync" checked all delivery orders
   state check will be done querying UPS services.
4. It is possible to create a UPS carrier for cash on delivery parcels.
   Select the ``ups`` delivery type and check the "Cash on Delivery"
   checkbox under the "UPS" tab. It is required to select the "UPS COD
   Funds Code" when the "Cash on Delivery" option is selected.

**NOTE** You need to add an APP from https://developer.ups.com/ for
using the webservice.

Usage
=====

You have to set the created shipping method in the delivery order to
ship:

- When the picking is 'Transferred', a *Create Shipping Label* button
  appears. Just click on it, and if all went well, the label will be
  'attached'.
- If the shipment creation process fails, a validation error will appear
  displaying UPS error.
- When the delivery order is cancelled, it's automatically cancelled too
  in UPS.
- If you have "Tracking state update sync" checked in the shipping
  method, a periodical state check will be done querying UPS services.

Known issues / Roadmap
======================

- Support international forms
- Support package service options

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_ups_oca%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Hunki Enterprises BV
* Tecnativa
* ForgeFlow

Contributors
------------

- Holger Brunn <mail@hunki-enterprises.nl>
  (https://hunki-enterprises.nl)
- `Tecnativa <https://www.tecnativa.com>`__:

  - Víctor Martínez
  - Pedro M. Baeza

- `ForgeFlow <https://www.forgeflow.com>`__:

  - Jordi Ballester

- `Sygel <https://www.sygel.es>`__:

  - Manuel Regidor

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/18.0/delivery_ups_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
