• Invoicing (account)
• Inventory (stock)
|Lines of code||4940|
|Also available in version||v 13.0|
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.
- delivery_sendcloud_official. This module works for the backend.
- 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
- Known issues / Roadmap
- Bug Tracker
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).
Go to SendCloud > Configuration > Wizards > Setup the SendCloud Integration. Click on Setup Integration. A wizard will pop up.
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.
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.
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.
When you validate the delivery in Odoo the label is created and the pick-up assignment is send to the carrier.
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.
Select all the objects. Confirm. This will retrieve the required data from SendCloud server.
Some SendCloud objects will be automatically synchronized from the SendCloud server to Odoo. Those SendCloud objects are:
- Parcel Statuses
- 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”.
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.
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.
Enabling the Test Mode allows you to access extra functionalities that are useful to test the connector.
To enable the Test Mode, go to the “General Settings”: under the SendCloud section you can find the “Enable Test Mode” flag.
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.
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…)
|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.
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
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module
- The author can leave a single reply to each comment.
- This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
- If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.