Set up Sendcloud shipping services in Odoo¶
Sendcloud is a shipping service aggregator that facilitates the integration of European shipping carriers with Odoo. Once integrated, users can select shipping carriers on inventory operations in their Odoo database.
Setup in Sendcloud¶
Create an account and activate carriers¶
要开始使用,请访问`Sendcloud 的平台 <https://www.sendcloud.com>`_,配置账户并生成连接器凭据。使用 Sendcloud 账户登录,或根据需要创建一个新账户。
注解
在创建新账户时,Sendcloud 会要求您提供:abbr:`VAT (增值税识别)`号码或:abbr:`EORI(经济运营商注册和识别)`号码。完成账户设置后,激活(或停用)将在 Odoo 数据库中使用的运输工具。
重要
Odoo 与 Sendcloud 的整合仅适用于已链接银行账户的免费 Sendcloud 计划,因为 Sendcloud 不会免费发货。要使用发货规则或单个自定义承运商联系人,则需要 Sendcloud 的付费计划。
仓库配置¶
登录 Sendcloud 账户后,导航至 仓库地址。
,然后填写为使 Sendcloud 也能处理退货,需要 退货地址。在 杂项部分 下,有一个名为 地址名称(选填) 的字段。应在此处输入 Odoo 仓库名称,且字符应完全相同。
Example
仓库 #1
默认
。仓库 #1
WH
My company (San Francisco)
My Company (San Francisco)
Notice how the inputs for the Warehouse field, for both the Odoo configuration and the Sendcloud configuration, are the exact same.
Generate Sendcloud credentials¶
In the Sendcloud account, navigate to Odoo Native. Then, click on Connect.
in the menu on the right. Next, search forAfter clicking on Connect, the page redirects to the Sendcloud API settings
page, where the Public and Secret Keys are produced. The next step is to name the
Integration. The naming convention is as follows: Odoo CompanyName
, with the user’s
company name replacing CompanyName
(e.g. Odoo StealthyWood
).
Then, check the box next to Service Points and select the shipping services for this integration. After saving, the Public and Secret Keys are generated.
设置Odoo¶
Install the Sendcloud shipping module¶
After the Sendcloud account is set up and configured, it’s time to configure the Odoo database. To get started, go to Odoo’s Apps module, search for the Sendcloud Shipping integration, and install it.
Sendcloud shipping connector configuration¶
安装后,在 Sendcloud 送货 模块。guilabel:`Sendcloud 连接器`设置位于:guilabel:`发货连接器`部分。
中激活激活 Sendcloud 连接器 后,点击列出的连接器下方的 Sendcloud 送货方式 链接。进入:guilabel:送货方式`页面后,点击:guilabel:`创建
。
小技巧
送货方式 也可以通过 访问。
在 新送货方式 表单中填写以下字段:
送货方式:类型
Sendcloud DPD
。供应商:从下拉菜单中选择 Sendcloud。
Delivery Product: set the product that was configured for this shipping method or create a new product.
In the SendCloud Configuration tab, enter the Sendcloud Public Key.
In the SendCloud Configuration tab, enter the Sendcloud Secret Key.
Manually Save the form by clicking the cloud icon next to the Shipping Methods / New breadcrumbs.
After configuring and saving the form, follow these steps to load the shipping products:
In the SendCloud Configuration tab of the New Shipping Method form, click on the Load your SendCloud shipping products link.
Select the shipping products the company would like to use for deliveries and returns.
Click Select.
Example
Sample Sendcloud shipping products configured in Odoo:
DPD Home 0-31.5kg
DPD
0.00
31.50
Countries: Austria
Belgium
Bosnia
Herzegovina
Bulgaria
Croatia
Czech
Republic
Denmark
Estonia
Finland
France
Germany
Greece
Hungary
Iceland
Ireland
Italy
Latvia
Liechtenstein
Lithuania
Luxembourg
Monaco
Netherlands
Norway
Poland
Portugal
Romania
Serbia
Slovakia
Slovenia
Spain
Sweden
Switzerland
DPD Return 0-20kg
DPD
0.00
20.00
Belgium
Netherlands
小技巧
Sendcloud does not provide test keys when a company tests the sending of a package in Odoo. This means if a package is created, the configured Sendcloud account will be charged, unless the associated package is canceled within 24 hours of creation.
Odoo has a built-in layer of protection against unwanted charges when using test environments. Within a test environment, if a shipping method is used to create labels, then those labels are immediately canceled after the creation — this occurs automatically. The test and production environment settings can be toggled back and forth from the Smart Buttons.
Generate a label with Sendcloud¶
When creating a quotation in Odoo, add shipping and a Sendcloud shipping product. Then, Validate the delivery. Shipping label documents are automatically generated in the chatter, which include the following:
Shipping label(s) depending on the number of packages.
Return label(s) if the Sendcloud connector is configured for returns.
Customs document(s) should the destination country require them.
Additionally, the tracking number is now available.
重要
When return labels are created, Sendcloud will automatically charge the configured Sendcloud account.
FAQ¶
Shipment is too heavy¶
If the shipment is too heavy for the Sendcloud service that is configured, then the weight is split to simulate multiple packages. Products will need to be put in different Packages to Validate the transfer and generate labels.
Rules can also be set up in Sendcloud to use other shipping methods when the weight is too heavy. However, note that these rules will not apply to the shipping price calculation on the calculation on the sales order.
Personal carrier contract¶
Use custom prices from a direct carrier contract, via CSV upload, by first logging into Sendcloud, navigating to
, and then selecting the intended contract.Under the Contract prices section, click Download CSV and fill out the contract prices in the price column of the CSV file template.
警告
Ensure the CSV file includes the correct prices to avoid any inaccuracies.
Upload the completed CSV file to Sendcloud, then click Save these prices.
Measuring volumetric weight¶
Many carriers have several measures for weight. There is the actual weight of the products in the parcel, and there is the volumetric weight (Volumetric weight is the volume that a package occupies when in transit. In other words it is the physical size of a package).
小技巧
Check to see if selected carrier(s) already have defined formulas to compute the volumetric weight.
Unable to calculate shipping rate¶
First, verify that product being shipped has a weight that is supported by the selected shipping method. If this is set, then verify that the destination country (from the customer address) is supported by the carrier. The country of origin (warehouse address) should also be supported by the carrier.