Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Fedex Service Type

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
shippingfedexservicetypes
1 Odpowiedz
3235 Widoki
Awatar
Dan Witting

Fedex has added some new Service types that are i do not see in ODOO 14.

Anyone know if there a way to fetch new service types or myself adding new service types ? 

0
Awatar
Odrzuć
Awatar
Bhavin Patel
Najlepsza odpowiedź

Yes, it is possible to fetch new service types from FedEx and add them to Odoo 14.

Here are the steps you can follow:

Log in to your FedEx account and navigate to the "Developer Resource Center" section.

In the Developer Resource Center, navigate to the "API Documentation" section and select the API you are using in Odoo 14.

Look for the latest version of the API documentation and search for the list of service types.

Copy the new service types that you want to add to Odoo 14.

In Odoo 14, navigate to the FedEx Shipping Configuration page and open the "Service Types" tab.

Click on the "Create" button to create a new service type.

Enter the name of the new service type and paste the service type code that you copied from the FedEx API documentation.

Save the new service type and repeat the process for any other new service types you want to add.

After adding the new service types, they should be available in Odoo 14 for use in shipping configurations.

Note that adding new service types in this way does not include any specific customizations or functionalities associated with those service types. If you need to customize the behavior of the new service types, you may need to create a custom module or customize the existing FedEx module in Odoo 14.

1
Awatar
Odrzuć
Dan Witting
Autor

Dear Geek,
many thanks for your reply. Yes, i found the Fedex Service on this website : https://developer.fedex.com/api/en-us/catalog/ship/docs.html

Should work well. Many thanks

Dan Witting
Autor

Geek,
somehow i can't find the FedEx Shipping Configuration page. I tried to use the debug mode and go to Settings -> Technical -> Fields. I searched for the field name "fedex_service_type". Then i tried to add my new service types to the list.
When i clicked on Save I get this error message " Properties of base fields cannot be altered in this manner! Please modify them through Python code, preferably through a custom addon!". Any thoughts how to fix it ?

Bhavin Patel

Based on the error message you received, it seems that you're trying to modify a base field in Odoo through the UI, which is not allowed.

To add your new service types to the list, you will need to create a custom addon that extends the existing FedEx shipping module in Odoo. Here are the steps you can follow:

Create a new module: You can create a new module through the Odoo user interface or using the command line.

In your new module, create a new Python file: You can name this file whatever you like, but it's a good idea to name it something descriptive, like "fedex_service_type.py".

In the Python file, create a new class that extends the existing FedEx carrier class in Odoo. You can do this by importing the existing FedEx carrier class and creating a new class that extends it. Here's an example:

python
from odoo.addons.delivery_fedex.models.delivery_carrier import DeliveryFedex

class DeliveryFedexCustom(DeliveryFedex):
_description = "Custom FedEx Delivery Carrier"

def fedex_rate_shipment(self, **kwargs):
# Add your new service types to the list here
# You can access the existing service types using self.fedex_services
# For example, to add a new service type called "My Service Type", you could do:
# self.fedex_services.append(('my_service_type', 'My Service Type'))

# Call the original method to get the updated rates
return super().fedex_rate_shipment(**kwargs)

In your new class, override the fedex_rate_shipment method: This method is called when a customer requests a shipping rate quote from FedEx. In this method, you can add your new service types to the list of available services. You can access the existing list of services using self.fedex_services.

Update the __init__.py file in your new module: In the __init__.py file, you need to import your new class and replace the existing FedEx carrier class with your new custom class. Here's an example:

python
from . import fedex_service_type

# Replace the existing FedEx carrier class with your custom class
from odoo.addons.delivery.models.delivery_carrier import DeliveryCarrier
DeliveryCarrier._inherit = 'delivery.carrier'
DeliveryCarrier._delivery_fedex = fedex_service_type.DeliveryFedexCustom

Install and activate your new module: Once you've made these changes, you can install and activate your new module in Odoo. Your new service types should now be available in the FedEx shipping configuration.

Note that modifying base fields in Odoo through the UI is not recommended, as it can cause problems with other parts of the system. Creating a custom addon is a more robust and flexible solution that allows you to extend the system without interfering with its core functionality.

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Where can I find the code for the FedEx shipping integration?
shipping fedex
Awatar
Awatar
1
paź 19
4203
FedEx App - State code exceeds 2 characters
shipping fedex odoo16
Awatar
0
kwi 25
2081
Fedex configuration error 1000 autentification failed
shipping fedex e-commerce
Awatar
1
lip 24
2360
Missing Fedex Service Type "FedEx International Economy Freight (IEF) Rozwiązane
shipping fedex ShippingMethod
Awatar
Awatar
1
lis 24
1902
Shipping Cost in e-commerce
shipping fedex dhl
Awatar
0
sie 22
6483
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now