Git Product home page Git Product logo

delivery_sendcloud_official's Introduction

Sendcloud Shipping

This module is part of the Sendcloud official connector for Odoo.

At the moment, the Sendcloud official connector for Odoo consists of two modules: delivery_sendcloud_official and website_sendcloud_official.

  1. delivery_sendcloud_official. This module works for the backend.
  2. website_sendcloud_official. This module is for the frontend (webshop) and it depends on delivery_sendcloud_official.

This module mostly implements what's described in https://docs.sendcloud.sc/api/v2/shipping/

Full documentation for developers is in https://docs.sendcloud.sc/.

This module works for the Community Edition as well as the Enterprise Edition.

Table of contents

In the Odoo configuration file add delivery_sendcloud_official in the list server_wide_modules:

[options]
(...)
server_wide_modules = web,delivery_sendcloud_official
(...)

A restart of the Odoo server is required afterwards.

Create an account on sendcloud.com and choose a plan. Go to integrations and select Odoo integration to use the Odoo integration or select api integration if you only want to use the api integration (see readme for more information).

Verify that the value of "web.base.url" parameter in System Parameters is set with the correct url (eg.: "https://demo.onestein.eu" instead of "http://localhost:8069").

Go to Sendcloud > Configuration > Wizards > Setup the Sendcloud Integration. A wizard will pop up.

/static/description/Image_10.png

Select Odoo Integration. Start Setup. You will be redirected to a Sendcloud page asking you to authorize OdooShop to access your Sendcloud account. Click on Connect in the Sendcloud page.

/static/description/Image_20.png

Go back to the Odoo Integration configuration. An integration "OdooShop" is now present in the Integration list view. Open the OdooShop Integration form. Edit the OdooShop Integration. The changes you make will be in sync, Sendcloud side, with the integration configuration.

/static/description/Image_30.png

In case multiple integrations are present, sort the integrations by sequence, to allow Odoo to choose the default one that will be used. Please note that when using the Odoo integration an "incoming order" is created in Sendcloud as soon as you validate the salesorder. The “incoming order” has status “in process” in Sendcloud and is not forwarded to the carrier yet.

/static/description/Image_40.png

When you validate the delivery in Odoo the label is created and the pick-up assignment is send to the carrier.

/static/description/Image_50.png

Sometimes our products are created as a KIT with this option (default is unchecked) you can ship the main product and not all its components. This is useful for creating the customs documents from Sendcloud which will have the same products as when you create the invoice in Odoo.

/static/description/image_170.png

In previous version there was a possibility to connect to the API integration instead of the Odoo integration. To benefit from Sendcloud support we highly recommend you to upgrade to the latest version of this module with the Odoo integration.

When you configure the Integration settings in the online Sendcloud panel (https://panel.sendcloud.sc/) those settings are also sync-ed with the Integration settings Odoo side.

After the setup of the integration with Sendcloud server is completed, second step is to synchronize the objects present in Sendcloud server to Odoo. To synchronize Sendcloud objects for the first time:

  • Go to Sendcloud > Configuration > Wizards > Sync the Sendcloud Objects. A wizard will pop up.

/static/description/Image_70.png

  • Select all the objects. Confirm. This will retrieve the required data from Sendcloud server.

/static/description/Image_80.png

Some Sendcloud objects will be automatically synchronized from the Sendcloud server to Odoo. Those Sendcloud objects are:

  • Parcel Statuses
  • Invoices
  • Shipping Methods
  • Sender Addresses

To configure how often those objects should be retrieved from the Sendcloud server:

  • Go to Settings > Technical > Automation > Scheduled Actions. Search Scheduled Actions for "Sendcloud".

/static/description/Image_90.png

  • Set the "Execute Every" value according to your needs.

In case of multiple warehouses configured in Odoo (eg.: user belongs to group "Manage multiple Warehouse"):

Go to Sendcloud > Configuration > Integration. Click on Configure Warehouse Addresses. A wizard will pop up. Set the corresponding Sendcloud Sender Address for each of the warehouse addresses.

/static/description/Image_100.png

Alternatively, in Inventory > Configuration > Warehouses, select an address. In the address form, go to Sales and Purchase tab and set the Sencloud Sender Address. In Sale Order > Delivery: select the Warehouse. Check that the address of the Warehouse has a Sendcloud Senser Address.

/static/description/Image_110.png

Once all the previous configuration steps are completed, it is possible to synchronize all the past Odoo outgoing shipments to Sendcloud. Those shipments are the ones already setup with a Sendcloud shipping method.

Go to Sendcloud > Configuration > Wizards > Sync past orders to Sendcloud. A wizard will pop up. Select the date (by default set to 30 days back from today) from which the shipments must be synchronized.

Click on Confirm button: the shipments will be displayed in the Incoming Order View tab of the Sendcloud panel. They will contain a status “Ready to Process” if they are ready to generate a label and the order fulfillment will continue.

When sending a product outside the EU, Sendcloud requires an invoice number. In case shipment is made with a product that can be invoiced based on delivered quantities, this combination of factors prevents the label being created in Sendcloud when confirming the SO.

A possible solution is to automatically create a 100% down-payment invoice when shipping to outside the EU. To enable this feature, go to the "General Settings": under the Sendcloud section you can find the "Auto create invoice" flag. Notice: this feature is still in beta testing.

To enable the Test Mode, go to the "General Settings": under the Sendcloud section you can find the "Enable Test Mode" flag. Enabling the Test Mode allows you to access extra functionalities that are useful to test the connector.

There is no seperate test environment available on the Sendcloud portal. This means that as soon as you create labels the carries is given the order to pickup the goods. You can use carrier "unstamped letter" for testing. When testing with other carriers make sure that you cancel the labels in the Sendcloud portal within a couple of hours otherwise the label will be billed and picked up.

Since there is no test environment it's very important to know that Sendcloud stores it records based on the delivery number, for instance WH/OUT/0001, this field is idempotent. So when you start testing and you will use delivery number WH/OUT/00001 this number is stored in Sendcloud. When you go live and use the same delivery numbers, in this case WH/OUT/00001, Sendcloud will treat this as an update of the existing record and will send back the shipping-address that was already stored (created while testing). To avoid this problem you should set a different prefix on the sequence out in your testenvironment. In debug mode, Technical/Sequences Identifiers/Sequences, select the sequence out and adjust this to WH/OUT/TEST for instance.

/static/description/Image_120.png

In short this is how the module works:

  • the user creates a sale order in Odoo; the user clicks on "Add shipping" button and selects one of the shipping methods provided by Sendcloud
  • when confirming the sale order, a delivery document is generated (stock.picking)
  • when confirming the picking, a parcel (or multiple parcels) for the specific sales order are created in Sendcloud under Shipping > Created labels
  • the picking is updated with the information from Sendcloud (tracking number, tracking url, label etc...)
Sendcloud Odoo
Integration  
Brand Website Shop
Order Sales Order
Shipment Picking
Parcel (colli) Picking packs
Sender address Warehouse address
Shipping Method Shipping Method

In Inventory > Configuration > Delivery Packages, set the carrier to Sendcloud. In the out picking, put the products in different Sendcloud packages to create Multicollo parcels.

The module contains a widget, the Service Point Picker, that allows the selection of the service point. The widget is placed in the "Sendcloud Shipping" tab of the picking. The widget is visible in case the following is true:

  • the configuration in the Sendcloud panel has the Service Point flag to True (in the Sendcloud integration config)
  • the Shipping Method selected in the picking is provided by Sendcloud
  • the Shipping Method has field sendcloud_service_point_input == "required"
  • all the criteria (from country, to country, weight) match with the current order

When canceling parcels a confirmation popup will ask for confirmation.

Install either OCA module 'product_harmonized_system' or Enterprise module 'account_intrastat' for delivery outside of EU. Both include extra field 'country of origin'.

If the communication to the Sendcloud server fails (eg.: while creating a parcel), the exchanged message is stored in a Log section, under Logging > Actions.

  • Enable different Shipping Methods for different Websites

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 smashing it by providing a detailed and welcomed feedback.

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

  • Onestein

This module is part of the onesteinbv/addons-sendcloud project on GitHub.

You are welcome to contribute.

delivery_sendcloud_official's People

Contributors

vandekul avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.