FedEx 整合

将 FedEx 账户与 Odoo **库存**应用整合后,即可实现:在 Odoo 系统中直接 计算运费 以及 生成物流标签。此功能需要通过启用 FedEx 物流连接器,并配置至少一个*物流方式*来实现。

注解

本文档包含 FedEx 整合的具体配置说明。如需了解通用承运商集成指南,请参阅 第三方承运商 相关说明文档。

启用物流连接器

要启用 FedEx 物流连接器,请前往 库存应用 ‣ 配置 ‣ 设置,向下滚动至 物流连接器 部分,勾选 FedEx 连接器 旁的复选框。

最后,点击 保存 以应用更改。保存后,FedEx 连接器 下方将显示 FedEx 物流方式 按钮。

FedEx 连接器下方的 FedEx 物流方式按钮。

配置物流方式

启用 FedEx 物流连接器后,需配置至少一个物流方式。配置完成后,该物流方式即可用于销售订单(SO)中的运费计算和物流标签打印。

要启用物流方式,请前往 库存应用 ‣ 配置 ‣ 设置,点击 FedEx 连接器 复选框下方的 FedEx 物流方式 按钮,页面将显示所有现有 FedEx 物流方式。

注解

要查看所有已启用连接器的承运商物流方式,请前往 库存应用 ‣ 配置 ‣ 运输方式

Select a shipping method to open its form. Alternatively, click New to open a blank form, and configure a new shipping method.

The form for a FedEx shipping method.

重要

Enabling the FedEx shipping connector automatically creates two default shipping methods: FedEx US and FedEx International. Each of these methods are pre-configured with test credentials, allowing them to be used for testing purposes.

Before the shipping method can be used to create actual shipments, the test credentials must be replaced with credentials from a valid FedEx account.

一般信息

At the very top of a shipping method form are fields used to configure the way the method operates in Odoo. In the Provider field, select FedEx from the drop-down menu, if it is not already selected.

The rest of the fields in this section are general to all shipping providers. For details on how to fill them out, see the documentation on third-party shippers.

Fedex Configuration tab

The options in the Fedex Configuration tab of a FedEx shipping method form are used to connect the method to a FedEx account, and configure the shipping details associated with the method (drop-off type, package type, etc.).

A FedEx business account is required to obtain the information needed to fill out the fields in this tab. To create a new account, navigate to FedEx’s Open Account page, click on Create Account, and follow the instructions.

Developer Key and Meter Number fields

开发者密钥 用于将 FedEx 帐户与外部服务(如 Odoo 库存 应用程序)整合。仪表编号 是联邦快递使用的唯一 ID 编号,用于识别每个帐户的协商运费。

要获取开发人员密钥和仪表编号,首先请访问 FedEx 的 开发者资源中心。然后,点击 FedEx 网络服务 下拉菜单。

点击 获取测试密钥 开始获取开发者密钥和仪表编号的过程,该密钥和仪表编号可用于配置用于测试目的的出货方法。

Click Get Production Key to start the process of getting a developer key and meter number, which can be used to configure a shipping method that generates real shipments with FedEx.

After clicking either option, follow the instructions until the Confirmation screen is reached. This screen displays the developer key and meter number.

Once the developer key and meter number are determined, enter them in the Developer Key and Meter Number fields on the Fedex Configuration tab of the shipping method form.

Password and Account Number fields

A password is used, along with a username, to log into a FedEx account. An account number is the unique number assigned to each FedEx account.

To find a FedEx account number, log in to a FedEx account at https://www.fedex.com. Click on the account holder’s name in the top-right corner of the screen, and select My Profile from the drop-down menu.

On the profile page, click Account Management on the left side of the screen. The account number is displayed on this screen.

Once the password and account number are determined, enter them in the Password and Account Number fields on the Fedex Configuration tab of the shipping method form.

运输详情

The main section of the Fedex Configuration tab includes a number of additional fields used provide information about the shipping method:

  • Fedex Service Type: The FedEx service used to ship a package.

  • Fedex Drop-Off Type: The method for getting a package into FedEx’s possession.

  • Fedex Package Type: The type of package used for the shipping method.

  • Package Weight Unit: The unit of measure used to weigh packages.

  • Package Length Unit: The unit of measure used to determine the dimensions of packages.

  • Label Type: The type of shipping label used for packages.

  • Label Format: The file format used by Odoo to generate shipping labels.

  • Commercial Invoice Type: The dimensions and type of the paper used to print invoices.

重要

The options that should be selected on the Fedex Configuration tab of a shipping method depend on the negotiated shipping services of the associated FedEx account. To confirm the available services for a FedEx account, visit the Account Management page after logging in to the FedEx website, or speak with a customer service representative.

Options section

The Options section of the Fedex Configuration tab provides a few additional options to further configure the shipping method:

  • Saturday Delivery: Tick the checkbox to allow packages shipped with the delivery method to be delivered on Saturdays.

  • Generate Return Label: Tick the checkbox to automatically generate a return label upon validation of a delivery order.

  • Duties paid by: Use the drop-down menu to select whether duty charges should be paid by the Sender or Recipient.

Activate shipping method

By default, shipping methods in Odoo are created within a test environment. This means they can only be used for testing purposes, and are unable to generate actual shipping orders.

To activate a shipping method in a production environment, click the Test Environment smart button at the top of the shipping method form. After doing so, the smart buttons changes to read Production Environment.

With the production environment enabled, validating a delivery order using the shipping method generates an actual shipping label with FedEx.

Click the Production Environment smart button to return the shipping method to a test environment.

警告

Do not enable the production environment for a shipping method before it is ready to be used for actual shipping orders. Doing so may lead to the creation of unwanted charges with FedEx.