Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Tricks to Import Huge Amount of Data Into Odoo in Seconds
Rating: 4.3 out of 5(49 ratings)
413 students

Tricks to Import Huge Amount of Data Into Odoo in Seconds

Regularly import million of external records FAST!
Last updated 6/2023
English
English [Auto],

What you'll learn

  • Techniques to import external data into Odoo fast
  • Using XMLRPC Standard
  • Using Direct SQL
  • Using Stored Procedure PL/PGSQL
  • Automating the Import Process
  • Filtering Record to Import

Course content

8 sections44 lectures3h 27m total length
  • Introduction0:43

    Discover tricks to import millions of external records into Odoo in seconds, from invoices to journal entries and employees, and optimize the daily data import for maximum speed.

  • Download Resources0:03
  • Background3:15

    Explore practical methods to import large data sets into Odoo, from staging databases and CSP files to automated add-ons and engine-based integrations for faster performance.

  • Case Study2:38

    Examine a case study on importing employee and department data into odoo, using mysql setup, the hr module, and sample data; compare three import methods by speed and generate reports.

  • Restore Sample Database3:38

    Download and unzip the sample database, run the restoration in the terminal using your username and password, and import the employees and departments tables into a new Odoo database.

  • Datasource Analysis2:02

    Analyze the datasource structure of employees, salaries, and departments to map one-to-many and one-to-one relations, including a junction table for employee and department links before importing large datasets into Odoo.

  • Datasource Mapping2:10

    Map employee data by aligning fields like identification number, full name, birth date, and gender during import; import the department table first to resolve department id before linking to HR.

  • Initial Specification0:50

    Present the initial specification for an import system that creates a department in the Odoo HR module and uses its id to import employees from the base database.

Requirements

  • Odoo Addon Fundamental
  • Odoo XMLRPC Fundamental
  • Python Language
  • SQL Fundamental

Description

Do you have Odoo implementation cases to regularly import a huge amount of data from external data source like MS SQL, Oracle, MySQL, etc? I meant, very huge, like million of invoices or journal entries record per day ?

Using the common standard way, the Odoo's XMLRPC and ORM, this process can take hours, if not timeout, while we are taking a few cups of coffee as Odoo suggests :)

This course explains in detail about techniques to improve the data import performance, starting from data source query, processing in Python, and processing in Odoo Database (PostgreSQL) to achieve a drastic performance increase, that was previously taking more than 10 hours to only seconds! Yes, seconds.. how can it be ? Is that possible ? 

YES

And we have implemented this technique in many implementation cases where Odoo's default mechanism is no more capable to handle that million of records per day!

Enjoy !

Who this course is for:

  • Odoo Developer
  • Odoo Consultant
  • Odoo Implementor
  • Odoo Official Partner