Metadata-Version: 2.1
Name: odoo-addon-delivery_roulier
Version: 18.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo-addon-delivery_carrier_account==18.0.*
Requires-Dist: odoo-addon-delivery_carrier_info==18.0.*
Requires-Dist: odoo-addon-delivery_carrier_shipping_label==18.0.*
Requires-Dist: odoo==18.0.*
Requires-Dist: roulier
Summary: Integration of multiple carriers
Home-page: https://github.com/OCA/delivery-carrier
License: AGPL-3
Author: Akretion,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

========================
Delivery Carrier Roulier
========================

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

.. |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/licence-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_roulier
    :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_roulier
    :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|

Integration of multiple carriers with Roulier library

Base module for integration with Roulier.

`Roulier <https://pypi.python.org/pypi/roulier>`__ is a python library
which implements carriers API. This modules contains the core functions
for this implementation.

You should install one of the specific modules :

- delivery_roulier_laposte
- delivery_roulier_dpd
- delivery_roulier_geodis
- delivery_carrier_label_gls
- more to come

**Table of contents**

.. contents::
   :local:

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

This module needs package in order to work. To generate the carrier
labels on the picking, each products need to be assigned to a
destination package. In case you don't want to bother with the use of
package because the whole content of the picking usually fit in a unique
package, you may consider installing the module
delivery_automatic_package from the same repository (delivery-carrier).
The package will be assigned automatically when asking the carrier
labels.

Usage
=====

Here is some methods you can use for your carrier implementation
allowing to have a consistent code accross different carrier modules:

.. code:: python

   def _mycarrier_get_sender(...):


   def _mycarrier_get_receiver(...):


   def _mycarrier_get_shipping_date(...):


   def _mycarrier_get_account(...):


   def _mycarrier_get_auth(...):


   def _mycarrier_get_service(...):


   def _mycarrier_convert_address(...):

Instead of calling super() you can use:

.. code:: python

   def _mycarrier_get_service(...):

       result = _roulier_get_service(...)

       result["specific_key"] = "blabla"

       return result

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_roulier%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
-------

* Akretion

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

- Raphaël Reverdy <sebastien.beau@akretion.com>
- David Béal <david.beal@akretion.com>

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.

.. |maintainer-florian-dacosta| image:: https://github.com/florian-dacosta.png?size=40px
    :target: https://github.com/florian-dacosta
    :alt: florian-dacosta
.. |maintainer-hparfr| image:: https://github.com/hparfr.png?size=40px
    :target: https://github.com/hparfr
    :alt: hparfr

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-florian-dacosta| |maintainer-hparfr| 

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

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