@@ -3,7 +3,7 @@ FedEx integration
3
3
=================
4
4
5
5
Integrating a FedEx account with Odoo's **Inventory ** app makes it possible to :doc: `calculate
6
- shipping rates <../setup_configuration>`, and :doc: `generate shipping labels <labels >` within Odoo.
6
+ delivery rates <../setup_configuration>`, and :doc: `generate delivery labels <labels >` within Odoo.
7
7
This is accomplished by enabling the FedEx *shipping connector *, then configuring at least one
8
8
*shipping method *.
9
9
@@ -23,90 +23,106 @@ Finally, click :guilabel:`Save` to save the changes. After doing so, a :icon:`oi
23
23
:guilabel: `FedEx Shipping Methods ` button appears below :guilabel: `FedEx Connector `.
24
24
25
25
.. image :: fedex/fsm-button.png
26
- :align: center
27
26
:alt: The FedEx Shipping Methods button below the FedEx Connector.
28
27
29
- Configure shipping method
28
+ Configure delivery method
30
29
=========================
31
30
32
- Once the FedEx shipping connector is enabled, it is necessary to configure at least one shipping
33
- method. After doing so, the shipping method can be included in sales orders (SOs), and used to
34
- compute shipping costs, and print shipping labels.
31
+ Once the FedEx shipping connector is enabled, it is necessary to configure at least one delivery
32
+ method. After doing so, the delivery method can be included in sales orders (SOs), and used to
33
+ compute delivery costs, and print delivery labels.
35
34
36
- To enable a shipping method, navigate to :menuselection: `Inventory app --> Configuration -->
35
+ To enable a delivery method, navigate to :menuselection: `Inventory app --> Configuration -->
37
36
Settings `, and click the :guilabel: `FedEx Shipping Methods ` button below the :guilabel: `FedEx
38
- Connector ` checkbox. Doing so opens a page that shows all existing FedEx shipping methods.
37
+ Connector ` checkbox. Doing so opens a page that shows all existing FedEx delivery methods.
39
38
40
39
.. note ::
41
- To see all shipping methods for every shipper with a connector enabled, navigate to
42
- :menuselection: `Inventory app --> Configuration --> Shipping Methods `.
40
+ To see all delivery methods for every shipper with a connector enabled, navigate to
41
+ :menuselection: `Inventory app --> Configuration --> Delivery Methods `.
43
42
44
- Select a shipping method to open its form. Alternatively, click :guilabel: `New ` to open a blank
45
- form, and configure a new shipping method.
43
+ Select a delivery method to open its form. Alternatively, click :guilabel: `New ` to open a blank
44
+ form, and configure a new delivery method.
46
45
47
46
.. image :: fedex/fedex-form.png
48
- :align: center
49
- :alt: The form for a FedEx shipping method.
47
+ :alt: The form for a FedEx delivery method.
50
48
51
49
.. important ::
52
50
Enabling the FedEx shipping connector automatically creates two default shipping methods:
53
51
:guilabel: `FedEx US ` and :guilabel: `FedEx International `. Each of these methods are
54
52
pre-configured with test credentials, allowing them to be used for testing purposes.
55
53
56
- Before the shipping method can be used to create actual shipments, the test credentials must be
54
+ Before the delivery method can be used to create actual shipments, the test credentials must be
57
55
replaced with credentials from a valid FedEx account.
58
56
59
57
General information
60
58
-------------------
61
59
62
- At the very top of a shipping method form are fields used to configure the way the method operates
60
+ At the very top of a delivery method form are fields used to configure the way the method operates
63
61
in Odoo. In the :guilabel: `Provider ` field, select :guilabel: `FedEx ` from the drop-down menu, if it
64
62
is not already selected.
65
63
66
- The rest of the fields in this section are general to all shipping providers. For details on how to
64
+ The rest of the fields in this section are general to all delivery providers. For details on how to
67
65
fill them out, see the documentation on :doc: `third-party shippers <third_party_shipper >`.
68
66
69
67
Fedex Configuration tab
70
68
-----------------------
71
69
72
- The options in the :guilabel: `Fedex Configuration ` tab of a FedEx shipping method form are used to
73
- connect the method to a FedEx account, and configure the shipping details associated with the method
70
+ The options in the :guilabel: `Fedex Configuration ` tab of a FedEx delivery method form are used to
71
+ connect the method to a FedEx account, and configure the delivery details associated with the method
74
72
(drop-off type, package type, etc.).
75
73
76
- A FedEx business account is required to obtain the information needed to fill out the fields in this
77
- tab. To create a new account, navigate to FedEx's `Open Account
74
+ A FedEx developer account is required to obtain the information needed to fill out the fields in
75
+ this tab. To create a new account, navigate to FedEx's `Open Account
78
76
<https://www.fedex.com/en-us/open-account.html> `_ page, click on :guilabel: `Create Account `, and
79
77
follow the instructions.
80
78
81
- Developer Key and Meter Number fields
82
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79
+ Create API Project
80
+ ~~~~~~~~~~~~~~~~~~
83
81
84
- A *developer key * is used to integrate a FedEx account with an external service, like the Odoo
85
- **Inventory ** app. A *meter number * is a unique ID number used by FedEx to identify negotiated
86
- shipping rates for each account.
82
+ After creating a `developer account <https://developer.fedex.com/api/en-us/home.html >`_, navigate to
83
+ the :guilabel: `My Projects ` tab, and click :guilabel: `CREATE API PROJECT `.
87
84
88
- To get a developer key and meter number, begin by navigating to FedEx's `Developer Resource Center
89
- <https://www.fedex.com/en-us/developer/web-services.html> `_. Then, click on the :guilabel: `FedEx Web
90
- Services ` drop-down menu.
85
+ On the :guilabel: `Tell us about your API needs ` popup, select `Ships with FedEX and needs to
86
+ integrate FedEx APIs into their system ` in the :guilabel: `I work for a company that: ` drop-down.
91
87
92
- Click :guilabel: ` Get Test Key ` to start the process of getting a developer key and meter number
93
- which can be used to configure a shipping method for testing purposes .
88
+ .. image :: fedex/fed-ex-api-needs.png
89
+ :alt: Pop-up on FedEx website to select API needs .
94
90
95
- Click :guilabel: `Get Production Key ` to start the process of getting a developer key and meter
96
- number, which can be used to configure a shipping method that generates real shipments with FedEx.
91
+ Next, when prompted to `Select API(s) for your project `, make sure to enable the following APIs:
97
92
98
- After clicking either option, follow the instructions until the :guilabel: `Confirmation ` screen is
99
- reached. This screen displays the developer key and meter number.
93
+ - :guilabel: `Ship, Rate & Other APIs `
94
+ - :guilabel: `Address Validation API `
95
+ - :guilabel: `Rates and Transit Times API `
96
+ - :guilabel: `Ship API `
97
+ - :guilabel: `Trade Documents Upload API `
100
98
101
- Once the developer key and meter number are determined, enter them in the :guilabel: `Developer Key `
102
- and :guilabel: `Meter Number ` fields on the :guilabel: `Fedex Configuration ` tab of the shipping
103
- method form.
99
+ .. image :: fedex/select-apis.png
100
+ :alt: Page on FedEx website where users select the APIs needed for project.
104
101
105
- Password and Account Number fields
106
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102
+ Enter a :guilabel: ` Project name `, then select any countries where packages will be shipped to, or
103
+ delivered from.
107
104
108
- A *password * is used, along with a username, to log into a FedEx account. An *account number * is the
109
- unique number assigned to each FedEx account.
105
+ .. image :: fedex/country-selector.png
106
+ :alt: Page on FedEx website where users select the countries they ship to and from.
107
+
108
+ To move the project to production, click the :guilabel: `Production key ` tab. From there, link a
109
+ :guilabel: `Shipping Account `. Copy the `API Key `, `Secret Key `, and `Account ` number, then paste
110
+ them into the appropriate fields on the :guilabel: `Delivery Methods ` form.
111
+
112
+ Certification process
113
+ ~~~~~~~~~~~~~~~~~~~~~
114
+
115
+ To enable the creation of FedEx shipping labels, the API must be certified. On the sidebar menu in
116
+ the FedEx `developer portal <https://developer.fedex.com/api/en-us/home.html >`_, click
117
+ :guilabel: `API Certification `, and follow the required instructions.
118
+
119
+ .. note ::
120
+ These certification often require reaching out to the FedEx support team via email.
121
+
122
+ Account Number fields
123
+ ~~~~~~~~~~~~~~~~~~~~~
124
+
125
+ An *account number * is the unique number assigned to each FedEx account.
110
126
111
127
To find a FedEx account number, log in to a FedEx account at https://www.fedex.com. Click on the
112
128
account holder's name in the top-right corner of the screen, and select :menuselection: `My Profile `
@@ -116,35 +132,35 @@ On the profile page, click :guilabel:`Account Management` on the left side of th
116
132
account number is displayed on this screen.
117
133
118
134
Once the password and account number are determined, enter them in the :guilabel: `Password ` and
119
- :guilabel: `Account Number ` fields on the :guilabel: `Fedex Configuration ` tab of the shipping method
135
+ :guilabel: `Account Number ` fields on the :guilabel: `Fedex Configuration ` tab of the delivery method
120
136
form.
121
137
122
- Shipping details
138
+ Delivery details
123
139
~~~~~~~~~~~~~~~~
124
140
125
141
The main section of the :guilabel: `Fedex Configuration ` tab includes a number of additional fields
126
- used provide information about the shipping method:
142
+ used provide information about the delivery method:
127
143
128
144
- :guilabel: `Fedex Service Type `: The FedEx service used to ship a package.
129
145
- :guilabel: `Fedex Drop-Off Type `: The method for getting a package into FedEx's possession.
130
- - :guilabel: `Fedex Package Type `: The type of package used for the shipping method.
146
+ - :guilabel: `Fedex Package Type `: The type of package used for the delivery method.
131
147
- :guilabel: `Package Weight Unit `: The unit of measure used to weigh packages.
132
148
- :guilabel: `Package Length Unit `: The unit of measure used to determine the dimensions of packages.
133
- - :guilabel: `Label Type `: The type of shipping label used for packages.
134
- - :guilabel: `Label Format `: The file format used by Odoo to generate shipping labels.
149
+ - :guilabel: `Label Type `: The type of delivery label used for packages.
150
+ - :guilabel: `Label Format `: The file format used by Odoo to generate delivery labels.
135
151
- :guilabel: `Commercial Invoice Type `: The dimensions and type of the paper used to print invoices.
136
152
137
153
.. important ::
138
- The options that should be selected on the :guilabel: `Fedex Configuration ` tab of a shipping
139
- method depend on the negotiated shipping services of the associated FedEx account. To confirm the
154
+ The options that should be selected on the :guilabel: `Fedex Configuration ` tab of a delivery
155
+ method depend on the negotiated delivery services of the associated FedEx account. To confirm the
140
156
available services for a FedEx account, visit the *Account Management * page after logging in to
141
157
the FedEx website, or speak with a customer service representative.
142
158
143
159
Options section
144
160
~~~~~~~~~~~~~~~
145
161
146
162
The :guilabel: `Options ` section of the :guilabel: `Fedex Configuration ` tab provides a few additional
147
- options to further configure the shipping method:
163
+ options to further configure the delivery method:
148
164
149
165
- :guilabel: `Saturday Delivery `: Tick the checkbox to allow packages shipped with the delivery
150
166
method to be delivered on Saturdays.
@@ -153,22 +169,22 @@ options to further configure the shipping method:
153
169
- :guilabel: `Duties paid by `: Use the drop-down menu to select whether duty charges should be paid
154
170
by the :guilabel: `Sender ` or :guilabel: `Recipient `.
155
171
156
- Activate shipping method
172
+ Activate delivery method
157
173
========================
158
174
159
- By default, shipping methods in Odoo are created within a *test environment *. This means they can
160
- only be used for testing purposes, and are unable to generate actual shipping orders.
175
+ By default, delivery methods in Odoo are created within a *test environment *. This means they can
176
+ only be used for testing purposes, and are unable to generate actual delivery orders.
161
177
162
- To activate a shipping method in a *production environment *, click the :icon: `fa-stop `
163
- :guilabel: `Test Environment ` smart button at the top of the shipping method form. After doing so,
178
+ To activate a delivery method in a *production environment *, click the :icon: `fa-stop `
179
+ :guilabel: `Test Environment ` smart button at the top of the delivery method form. After doing so,
164
180
the smart buttons changes to read :icon: `fa-play ` :guilabel: `Production Environment `.
165
181
166
- With the production environment enabled, validating a delivery order using the shipping method
167
- generates an actual shipping label with FedEx.
182
+ With the production environment enabled, validating a delivery order using the delivery method
183
+ generates an actual delivery label with FedEx.
168
184
169
- Click the :icon: `fa-play ` :guilabel: `Production Environment ` smart button to return the shipping
185
+ Click the :icon: `fa-play ` :guilabel: `Production Environment ` smart button to return the delivery
170
186
method to a test environment.
171
187
172
188
.. warning ::
173
- **Do not ** enable the production environment for a shipping method before it is ready to be used
174
- for actual shipping orders. Doing so may lead to the creation of unwanted charges with FedEx.
189
+ **Do not ** enable the production environment for a delivery method before it is ready to be used
190
+ for actual delivery orders. Doing so may lead to the creation of unwanted charges with FedEx.
0 commit comments