# PostLogistics Labels WebService

This module uses PostLogistics BarCodes WebService to generate labels for your Delivery Orders.

It adds a Create label button on Delivery Orders. A generated label will be an attachement of your Delivery Order.

To see it, please install documents module.

You can create multiple delivery method to match your diffent package types.

Table of contents

- Installation
- Configuration
- Known issues / Roadmap
- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Maintainers

# Installation

As a requirement you need to install suds-jurko library. It will fail with the latest and outdated version of suds. https://pypi.python.org/pypi/suds-jurko/0.6

Furthermore, if you want to use the integration server of Postlogistics you will have to patch this library with the following patch:

https://fedorahosted.org/suds/attachment/ticket/239/suds_recursion.patch

A copy of this patch is available in patches folder of this module.

# Configuration

Important

A “Swiss Post Business customer” account is required to use this module.

See Log in

To configure:

- Go to Configurations -> Settings -> Postlogistics
- Set your login informations
- launch the Update PostLogistics Services

This will load available services and generate carrier options.

Now you can create a carrier method for PostLogistics WebService:

- First choose a Service group and save
- Add a Mandatory Carrier option using a Basic Service
- Save Carrier Method (this will update filters to show you only compatible services)
- Then add other Optional as default and Optional carrier option from listed
- Add additional Service and Delivery instructions

“Barcode” web service documentation

# Known issues / Roadmap

- Integration of price webservice : https://www.post.ch/en/customer-center/all-online-services/preise-berechnen/info
- Not sure if the recursive patch of suds is still needed as there’s no need to use the integration WS anymore. However we still want to patch open to get meaningful error messages.

# Bug Tracker

Bugs are tracked on GitHub 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.

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

# Credits

## Authors

- Camptocamp

## Contributors

- Yannick Vaucher <yannick.vaucher@camptocamp.com>
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
- Akim Juillerat <akim.juillerat@camptocamp.com>

## Maintainers

This module is maintained by the OCA.

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 project on GitHub.

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