交货订单¶
When activated in Odoo, the Delivery Methods setting adds the option of calculating the cost of shipping on sales orders and e-commerce shopping carts.
When integrated with a third-party carrier, shipping prices are calculated based on the carrier’s pricing and packaging information.
配置¶
To calculate shipping on sales orders and e-commerce, the Delivery Costs module must be installed. To do so, navigate to the
application from the main Odoo dashboard.Then, remove the Apps filter, and type in Delivery Costs
in the Search…
bar. After finding the Delivery Costs module, click Activate to install it.
Add shipping method¶
然后,转到
。注解
If the Shipping Methods option is not available from the Configuration drop-down menu, verify whether the feature is enabled by following these steps:
转到
。Scroll to the Shipping section and enable the Delivery Methods feature by checking the corresponding checkbox.
On the Shipping Methods page, add a method by clicking New. Doing so opens a form to provide details about the shipping provider, including:
Shipping Method (Required field): the name of the delivery method (e.g.
flat-rate shipping
,same day delivery
, etc.).Provider (Required field): choose the delivery service, like Fedex, if using a third-party carrier. Ensure the integration with the shipping carrier is properly installed and select the provider from the drop-down menu.
For more details on configuring custom shipping methods, such as fixed price, based on rules, or pickup in store options, refer to their respective sections below.
Website: configure shipping methods for an e-commerce page. Select the applicable website from the drop-down menu, or leave it blank to apply the method to all web pages.
Company: If the shipping method should apply to a specific company, select it from the drop-down menu. Leave the field blank to apply the method to all companies.
Routes: select the applicable route(s) to define different delivery methods, such as standard or express shipping, based on varying lead times. For more information, jump to the Set routes on shipping method section.
Delivery Product (Required field): the product listed on the sales order line as the delivery charge.
Free if order amount is above: checking this box enables free shipping if the customer spends above the specified amount.
For examples on how to configure specific shipping methods, refer to the sections below.
固定价格¶
To configure a shipping price that is the same for all orders, go to New, and on the shipping method form, set the Provider to the Fixed Price option. Selecting this option makes the Fixed Price field become available, which is where the fixed rate shipping amount is defined.
. Then, clickTo enable free shipping if the amount of the order exceeds a specified amount, check the box Free if order amount is above and fill in the amount.
Example
To set up $20
flat-rate shipping that becomes free if the customer spends over $100
, fill in
the following fields:
Shipping Method: type
Sendcloud DPD
.Provider: 从下拉菜单中选择 Sendcloud。
最小重量:
0.00
Free if order amount is above:
$100.00
Delivery Product:
[SHIP] Flat
使用路线和规则¶
To calculate the price of shipping based on pricing rules, set the Provider field to the Based on Rules option. Optionally, adjust Margin on Rate and Additional margin to include additional shipping costs.
创建规则¶
Navigate to the Pricing tab and click Add a line. Doing so opens the Create Pricing Rules window, where the Condition related to the product weight, volume, price, or quantity is compared to a defined amount to calculate the Delivery Cost.
填写完信息后,点击 保存并新建 按钮以创建另一个规则,或点击 保存并关闭 以保存并返回规则表。
Example
To charge customers $20 in shipping for orders with five or fewer products, set the
Condition to Quantity <= 5.00
, and the Delivery Cost to $20
.
To restrict shipping to specific destinations on the eCommerce website, in the shipping method form, navigate to the Destination Availability tab and define the Countries, States, and Zip Prefixes. Leave these fields empty if all locations apply.
验证交货订单。¶
Shipping cost is the Delivery cost specified in the rule that satisfies the Condition, plus any extra charges from the Margin on rate and Additional margin.
Example
With the two following rules set up:
If the order contains five or fewer products, shipping is $20
If the order contains more than five products, shipping is $50.
Margin on Rate is 10%
and Additional margin is $9.00
.
When the first rule is applied, the delivery cost is $31 (20 + (0.1 * 20) + 9). When the second rule is applied, the delivery cost is $64 (50 + (0.1 * 50) + 9).
到店自取¶
To configure in-store pickup, select Pickup in store in the Provider field and specify the pickup location in Warehouse.
To invoice the customer for the shipping cost to the pickup location, choose the Get Rate and Create Shipment option in the Integration Level field. Then, pick either the Estimated cost or Real cost radio options in the Invoicing Policy field to decide whether the added shipping charge on the sales order is the precise cost from the shipping carrier.
Route on shipping method¶
Optionally, set different warehouse delivery processes for a shipping method by configuring different routes for it.
Example
Configuring multiple routes per shipping method is helpful for adjusting warehouse delivery processes based on:
speed (e.g., use one-step delivery for express shipping, or two-step for standard shipping).
international shipping (e.g. use three-step delivery to prepare documents for customs)
in-store pickup or home delivery: ship from the central warehouse, or pick from the store’s stock, depending on customer selection.
To set up routes, go to New, or select the desired route.
. ClickOn the route form, in the Applicable On section, tick the Shipping Methods checkbox.
Then, go to
, and select the desired shipping method.On the shipping method form, in the Routes field, select the available fulfillment routes from the drop-down menu.
注解
If the desired route is not selectable, check that the Shipping Methods option is enabled in the route’s Applicable On section.
添加运输方式¶
Shipping methods can be added to sales orders in the form of delivery products, which appear as individual line items. First, navigate to the desired sales order by going to
.On the sales order, click the Add shipping button, which opens the Add a shipping method pop-up window. Then, choose a Shipping Method from the list.
The Total Order Weight is pre-filled based on product weights (that are defined in the Inventory tab for each product form). Edit the field to specify the exact weight, and then click Add to add the shipping method.
注解
The amount defined in Total Order Weight overwrites the total product weights defined on the product form.
The shipping cost is added to the sales order line as the Delivery Product detailed on the shipping method form.
Example
Furniture Delivery
, a delivery product with a fixed rate of $200
, is added to sales order
S00088
.
交货订单¶
The shipping method added to the sales order is linked to the shipping carrier details on the delivery order. To add or change the delivery method on the delivery itself, go to the Additional Info tab and modify the Carrier field.