Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Fedex Service Type

Odebírat

Get notified when there's activity on this post

This question has been flagged
shippingfedexservicetypes
1 Odpovědět
3231 Zobrazení
Avatar
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
Avatar
Zrušit
Avatar
Bhavin Patel
Nejlepší odpověď

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
Avatar
Zrušit
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.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Where can I find the code for the FedEx shipping integration?
shipping fedex
Avatar
Avatar
1
říj 19
4199
FedEx App - State code exceeds 2 characters
shipping fedex odoo16
Avatar
0
dub 25
2079
Fedex configuration error 1000 autentification failed
shipping fedex e-commerce
Avatar
1
čvc 24
2356
Missing Fedex Service Type "FedEx International Economy Freight (IEF) Vyřešeno
shipping fedex ShippingMethod
Avatar
Avatar
1
lis 24
1900
Shipping Cost in e-commerce
shipping fedex dhl
Avatar
0
srp 22
6481
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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