Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2098 Lượt xem

Hello there :)

I am trying out Odoo's native FedEx connector (on Odoo 14 E). As a European, I am looking for the "FedEx Regional Economy" service, also called "Economy Service". The code on the label is "RGNL_ECONOMY".

I cannot find in the drop down where I can choose the service types. Is there a way to add it or is it maybe available in newer versions of Odoo?

Or am I blind?


Ảnh đại diện
Huỷ bỏ
Tác giả

I misunderstood the services, as I found out in a talk with an expert at FedEx. Therefore there is nothing wrong with the FedEx app provided by Odoo. Sorry for the mix-up and inconvenience.

Câu trả lời hay nhất

Hello Parker D,

I hope you are doing well.

- The "FedEx Regional Economy" service you are looking for is not available in shippind method.

Please find code in comment. 

I hope this can help you.

Thanks & Regards,
Email:   odoo@aktivsoftware.com 

Skype: kalpeshmaheshwari

Ảnh đại diện
Huỷ bỏ

Please find code here :-
You can add it manually with the following code:

---- Py Side Code ----

from odoo import models, fields

class ProviderFedex(models.Model):
_inherit = "delivery.carrier"

fedex_service_type = fields.Selection(
selection_add=[("FedEx_Regional_Economy", "FedEx_Regional_Economy")],
ondelete={"FedEx_Regional_Economy": "cascade"},
)

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 24
1260
1
thg 1 24
2459
0
thg 1 24
1579
0
thg 12 23
1726
1
thg 4 23
2629