Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

importing a large dataset into odoo 14

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
importationodoorpc
2 Antwoorden
3655 Weergaven
Avatar
Adriano Peluso

I have a large dataset to be imported in an Odoo instance

The data will be processed and they will populate several different models

I'm assuming the tool to do this os odoorpc

Is this assumption correct ?

Am I missing anything ?

Thanks

-1
Avatar
Annuleer
Josep Anton Belchi Riera

What is the question?

Adriano Peluso
Auteur

sorry, I just erased it by mistake

I need 500 karma points to remove this one and publisha new one

Adriano Peluso
Auteur

ok, I managed to edit it

Avatar
Thuy Ngoc
Beste antwoord

Hi  Adriano,

I think this video can help you:

https://www.youtube.com/watch?v=etMYrOJyaiU&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=2

0
Avatar
Annuleer
Avatar
shubham shiroya
Beste antwoord

Yes, your assumption is correct. odoorpc is a popular tool for interacting with an Odoo instance using the RPC (Remote Procedure Call) protocol. It allows you to automate various operations, including data import, in an Odoo instance.

To import a large dataset into an Odoo instance using odoorpc, you can follow these steps:

1. Establish a connection: Connect to your Odoo instance using the odoorpc library. Provide the necessary connection details such as the host, port, database name, username, and password.

2. Identify the target models: Determine which Odoo models you need to populate with your data. These models represent the different entities or tables in the Odoo database where your data will be stored.

3. Prepare your data: Organize your data in a format that can be easily processed and mapped to the target models. This could be in the form of CSV files, Excel spreadsheets, JSON, or any other structured format that can be parsed and transformed into Python objects.

4. Iterate through the data: Iterate through your dataset and use the odoorpc library to create records in the target models. For each record, set the appropriate field values based on your data. You can use the `create()` method provided by odoorpc to create new records.

5. Handle relationships: If your data includes relationships between different models (e.g., foreign keys), make sure to handle those relationships appropriately. You may need to query for existing records or create related records before assigning them to the appropriate fields.

6. Commit the changes: Once you have processed all the data and created the records in the target models, make sure to commit the changes to the Odoo database. You can use the `write()` method provided by odoorpc to update existing records if needed.

7. Close the connection: After completing the data import process, close the connection to the Odoo instance using the odoorpc library.

Additionally, it's good practice to handle error scenarios and perform data validation during the import process. You can use try-except blocks to catch and handle any exceptions that may occur during the data import.

By using odoorpc, you have the flexibility to automate and streamline the data import process into your Odoo instance, making it efficient and manageable for large datasets.

0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Error desconocido durante la importación: <class 'odoo.exceptions.ValidationError'>: La unidad de medida predeterminada y la unidad de medida de compra deben estar en la misma categoría. en varias filas Primero resuelva otros errores
importation
Avatar
0
dec. 21
4960
Can't use API key in place of password in "odoorpc" Python library.
odoorpc api-key
Avatar
0
feb. 24
2154
Problem with Odoo Permissions for OdooRPC Library
permissions odoorpc
Avatar
Avatar
2
okt. 23
2106
Is it possible for JavaScript to call odoorpc?
javascript odoorpc
Avatar
Avatar
1
jan. 22
4301
How to call class methods by odoorpc?
odoorpc create()
Avatar
0
apr. 20
4958
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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