SlideShare a Scribd company logo
BEST PRACTICES ON
HOW TO IMPORT DATA
INTO OPENERP
Why you should love CSV Import
Cyril MORISSE ( @cmorisse )
Introduction
 With Test Driven Development and Data Migration,
we need to gather and enter real data owned by
users
 We need a data format within user’s reach
(compared to XML)
 As of version 7.0 OpenERP has redesigned the
import system (“base_import” module):
 It has nearly everything right out of the box
 Only missing feature is user oriented documentation
 This talk is an overview of the module
Installation
 Export functionality is available right out of the box
 BUT import functionality must be installed:
 Import is covered by “base_import” module
 Import must be installed via Settings / Configuration /
General Settings
 Then “Import” link is available in all list/tree views
CSV import issues
 When importing data using CSV, you will
face 3 main issues:
Identify the fields required for an import
Understand “OpenERP External IDs”
Understand how to import the different type
of fields
Simple fields ( date, text, numbers, boolean,…)
Relational fields:
 Many2many
 Many2One
 One2many
Identify fields to import
 To identify the columns required to import an
object:
1. Activate “Developer Mode”
2. Write down all the fields you must enter manually
3. Export a file with all these fields
4. Delete values in the id column then re-import the
file to check everything is ok
5. If a column is missing ; do it again from step 3 and
add the column
Understand IDs
 Example Product categories
 CSV Import allows User Defined External IDs
 External IDs are symbolic names for records
 Format is module_name.id_name
Understand IDs (continued)
 User defined IDs are saved in the database and can be
retrieved via:
 Settings / Technical / Sequences & Identifiers / External Identifiers
Understand IDs (end)
 User defined IDs allow to manage Import / Update of data
 During import:
 If a record exists with this ID, OpenERP will update the record
 If no record exists with this ID, OpenERP will create a new record
 Export IDs
 During Export, OpenERP creates an export ID for all records without
IDs (manually created records)
 In the database all External IDs are stored in table ir_model_data
Import simple Fields
Field type Cell content Example
char, text Content surrounded by “ “This is a text ""value”"."
float Number with . as decimal
separator
3.15
boolean True or False “0” or 0 or “False” or False
or “1” or 1 or “True” or True
date YYYY-MM-DD 2013-06-10
datetime YYYY-MM-DD HH:MM:SS 2013-06-10 07:07
selection Value as given by
“developer mode” inspector
reference Value in database is
“object,id”
Import relations: Many2One
 Many2one
 This is the simplest relation to import in CSV
 Just use id of referenced object
id
parent_id
product_category
...
Import relations: Many2Many
 Eg. Customer Tags
 Many2many involves 3 tables
 Really simple in CSV ; enter all values separated by
comma with no space
...
id
res_partner
id
...
res_partner_category
category_idpartner_id
res_partner_res_partner_category_rel
Import relations: One2Many
 Eg. Quotations/ Quotations Lines
 In CSV: Enter lines while you don’t repeat header object fields
 Child objects column format is
“one2many_fieldname/child_object_field”
...
id
sale_order
id
order_id
sale_order_line
...
Integrate CSV in your development
workflow
 Create a set of shared Google Spreadsheet that your
users will complete with project data
 Organize your OpenERP project in 3 modules:
 project_core with code and technical parameters
 project_data : will contains only data in CSV files
 project_test : contains your test code and test specific data
 Use a tool to automate export and download of the
Google Spreadsheet into the project_data module
 http://bitbucket.org/cmorisse/edgdd
 Your users will be able to “cooperatively” enter their
data and you will be able to seamlessly integrate and
use this data in your project
More information?
www.audaxis.com
Contact us
openerp@audaxis.com
14
Visit our booth at OpenERP Community Days in Hall K

More Related Content

What's hot

Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.
Boopathy CS
 
Owl: The New Odoo UI Framework
Owl: The New Odoo UI FrameworkOwl: The New Odoo UI Framework
Owl: The New Odoo UI Framework
Odoo
 
Odoo Functional Training
Odoo Functional TrainingOdoo Functional Training
Odoo Functional Training
Pinakin Nayi
 
Oracle Order Management - Order to Cash Cycle (O2C) - Data Flow
Oracle Order Management - Order to Cash Cycle (O2C) - Data FlowOracle Order Management - Order to Cash Cycle (O2C) - Data Flow
Oracle Order Management - Order to Cash Cycle (O2C) - Data Flow
Boopathy CS
 
How to auto create trip in oracle order management
How to auto create trip in oracle order managementHow to auto create trip in oracle order management
How to auto create trip in oracle order management
shravan kumar chelika
 
Oracle R12.1.2 and R12.1.3 features
Oracle R12.1.2 and R12.1.3 featuresOracle R12.1.2 and R12.1.3 features
Oracle R12.1.2 and R12.1.3 features
ravisagaram
 
Otbi overview ow13
Otbi overview ow13Otbi overview ow13
Otbi overview ow13
Syaifuddin Ismail
 
Oracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manualOracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manual
Feras Ahmad
 
Odoo 13 crm manage leads and opportunity
Odoo 13  crm manage leads and opportunityOdoo 13  crm manage leads and opportunity
Odoo 13 crm manage leads and opportunity
PlanetOdoo
 
Technical architecture for order management
Technical architecture for order managementTechnical architecture for order management
Technical architecture for order management
Mohit kumar Gupta
 
R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)
lingaswamy vallapu
 
Pick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle appsPick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle apps
shravan kumar chelika
 
Oracle R12 SCM Functional Interview Questions - Order Management,
Oracle R12 SCM Functional Interview Questions - Order Management, Oracle R12 SCM Functional Interview Questions - Order Management,
Oracle R12 SCM Functional Interview Questions - Order Management,
Boopathy CS
 
Fast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packages
Feras Ahmad
 
Oracle Apps Technical Syllabus
Oracle Apps Technical SyllabusOracle Apps Technical Syllabus
Oracle Apps Technical Syllabus
Oracle Financial R12 Online Training
 
Accounting in Oracle Inventory
Accounting in Oracle InventoryAccounting in Oracle Inventory
Accounting in Oracle Inventory
Baker Khader Abdallah, PMP
 
R12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfersR12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfers
shravan kumar chelika
 
Oracle General ledger ivas
Oracle General ledger ivasOracle General ledger ivas
Oracle General ledger ivas
Ali Ibrahim
 
Order to cash cycle
Order to cash cycleOrder to cash cycle
Order to cash cycle
shravan kumar chelika
 
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
vasuballa
 

What's hot (20)

Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.Oracle Apps Technical – Short notes on RICE Components.
Oracle Apps Technical – Short notes on RICE Components.
 
Owl: The New Odoo UI Framework
Owl: The New Odoo UI FrameworkOwl: The New Odoo UI Framework
Owl: The New Odoo UI Framework
 
Odoo Functional Training
Odoo Functional TrainingOdoo Functional Training
Odoo Functional Training
 
Oracle Order Management - Order to Cash Cycle (O2C) - Data Flow
Oracle Order Management - Order to Cash Cycle (O2C) - Data FlowOracle Order Management - Order to Cash Cycle (O2C) - Data Flow
Oracle Order Management - Order to Cash Cycle (O2C) - Data Flow
 
How to auto create trip in oracle order management
How to auto create trip in oracle order managementHow to auto create trip in oracle order management
How to auto create trip in oracle order management
 
Oracle R12.1.2 and R12.1.3 features
Oracle R12.1.2 and R12.1.3 featuresOracle R12.1.2 and R12.1.3 features
Oracle R12.1.2 and R12.1.3 features
 
Otbi overview ow13
Otbi overview ow13Otbi overview ow13
Otbi overview ow13
 
Oracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manualOracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manual
 
Odoo 13 crm manage leads and opportunity
Odoo 13  crm manage leads and opportunityOdoo 13  crm manage leads and opportunity
Odoo 13 crm manage leads and opportunity
 
Technical architecture for order management
Technical architecture for order managementTechnical architecture for order management
Technical architecture for order management
 
R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)
 
Pick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle appsPick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle apps
 
Oracle R12 SCM Functional Interview Questions - Order Management,
Oracle R12 SCM Functional Interview Questions - Order Management, Oracle R12 SCM Functional Interview Questions - Order Management,
Oracle R12 SCM Functional Interview Questions - Order Management,
 
Fast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packages
 
Oracle Apps Technical Syllabus
Oracle Apps Technical SyllabusOracle Apps Technical Syllabus
Oracle Apps Technical Syllabus
 
Accounting in Oracle Inventory
Accounting in Oracle InventoryAccounting in Oracle Inventory
Accounting in Oracle Inventory
 
R12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfersR12 subinventory transfer and inter org transfers
R12 subinventory transfer and inter org transfers
 
Oracle General ledger ivas
Oracle General ledger ivasOracle General ledger ivas
Oracle General ledger ivas
 
Order to cash cycle
Order to cash cycleOrder to cash cycle
Order to cash cycle
 
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
OOW16 - Oracle E-Business Suite Integration Best Practices [CON6709]
 

Similar to How to Import data into OpenERP V7

How to import datas in OpenERP 7.0
How to import datas in OpenERP 7.0How to import datas in OpenERP 7.0
How to import datas in OpenERP 7.0
Jyothi Lekshmi
 
Best practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Best practices on how to import data into OpenERP. Cyril Morisse, AudaxisBest practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Best practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Odoo
 
Final report mobile shop
Final report   mobile shopFinal report   mobile shop
Final report mobile shop
Viditsingh22
 
Marketing Cloud - Cross Cloud Architecture - Identity Design - August 2023.pdf
Marketing Cloud - Cross Cloud Architecture - Identity Design - August 2023.pdfMarketing Cloud - Cross Cloud Architecture - Identity Design - August 2023.pdf
Marketing Cloud - Cross Cloud Architecture - Identity Design - August 2023.pdf
Kenneth Wagner
 
.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfolio
mwillmer
 
XPages Workshop: Concepts And Exercises
XPages Workshop:   Concepts And ExercisesXPages Workshop:   Concepts And Exercises
XPages Workshop: Concepts And Exercises
ddrschiw
 
Dbva dotnet programmer_guide_chapter8
Dbva dotnet programmer_guide_chapter8Dbva dotnet programmer_guide_chapter8
Dbva dotnet programmer_guide_chapter8
Shakeel Mujahid
 
ADBMS ASSIGNMENT
ADBMS ASSIGNMENTADBMS ASSIGNMENT
ADBMS ASSIGNMENT
Lori Moore
 
A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010
Abram John Limpin
 
UI5Con presentation on UI5 OData V4 Model
UI5Con presentation on UI5 OData V4 ModelUI5Con presentation on UI5 OData V4 Model
UI5Con presentation on UI5 OData V4 Model
Patric Ksinsik
 
Php mysql
Php mysqlPhp mysql
Php mysql
Manish Jain
 
AspMVC4 start101
AspMVC4 start101AspMVC4 start101
AspMVC4 start101
Rich Helton
 
Overview of CSharp MVC3 and EF4
Overview of CSharp MVC3 and EF4Overview of CSharp MVC3 and EF4
Overview of CSharp MVC3 and EF4
Rich Helton
 
data binding.docx
data binding.docxdata binding.docx
data binding.docx
kishorebabu123
 
Databases, SQL and MS SQL Server
Databases, SQL and MS SQL ServerDatabases, SQL and MS SQL Server
Databases, SQL and MS SQL Server
Doncho Minkov
 
Web forms and html lecture Number 4
Web forms and html lecture Number 4Web forms and html lecture Number 4
Web forms and html lecture Number 4
Mudasir Syed
 
Lecture9
Lecture9Lecture9
Ado Presentation
Ado PresentationAdo Presentation
Ado Presentation
Rebecca Peltz
 
OBIEE publisher with Report creation - Tutorial
OBIEE publisher with Report creation - TutorialOBIEE publisher with Report creation - Tutorial
OBIEE publisher with Report creation - Tutorial
onlinetrainingplacements
 
Django forms
Django formsDjango forms
Django forms
Rubin Damian
 

Similar to How to Import data into OpenERP V7 (20)

How to import datas in OpenERP 7.0
How to import datas in OpenERP 7.0How to import datas in OpenERP 7.0
How to import datas in OpenERP 7.0
 
Best practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Best practices on how to import data into OpenERP. Cyril Morisse, AudaxisBest practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Best practices on how to import data into OpenERP. Cyril Morisse, Audaxis
 
Final report mobile shop
Final report   mobile shopFinal report   mobile shop
Final report mobile shop
 
Marketing Cloud - Cross Cloud Architecture - Identity Design - August 2023.pdf
Marketing Cloud - Cross Cloud Architecture - Identity Design - August 2023.pdfMarketing Cloud - Cross Cloud Architecture - Identity Design - August 2023.pdf
Marketing Cloud - Cross Cloud Architecture - Identity Design - August 2023.pdf
 
.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfolio
 
XPages Workshop: Concepts And Exercises
XPages Workshop:   Concepts And ExercisesXPages Workshop:   Concepts And Exercises
XPages Workshop: Concepts And Exercises
 
Dbva dotnet programmer_guide_chapter8
Dbva dotnet programmer_guide_chapter8Dbva dotnet programmer_guide_chapter8
Dbva dotnet programmer_guide_chapter8
 
ADBMS ASSIGNMENT
ADBMS ASSIGNMENTADBMS ASSIGNMENT
ADBMS ASSIGNMENT
 
A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010
 
UI5Con presentation on UI5 OData V4 Model
UI5Con presentation on UI5 OData V4 ModelUI5Con presentation on UI5 OData V4 Model
UI5Con presentation on UI5 OData V4 Model
 
Php mysql
Php mysqlPhp mysql
Php mysql
 
AspMVC4 start101
AspMVC4 start101AspMVC4 start101
AspMVC4 start101
 
Overview of CSharp MVC3 and EF4
Overview of CSharp MVC3 and EF4Overview of CSharp MVC3 and EF4
Overview of CSharp MVC3 and EF4
 
data binding.docx
data binding.docxdata binding.docx
data binding.docx
 
Databases, SQL and MS SQL Server
Databases, SQL and MS SQL ServerDatabases, SQL and MS SQL Server
Databases, SQL and MS SQL Server
 
Web forms and html lecture Number 4
Web forms and html lecture Number 4Web forms and html lecture Number 4
Web forms and html lecture Number 4
 
Lecture9
Lecture9Lecture9
Lecture9
 
Ado Presentation
Ado PresentationAdo Presentation
Ado Presentation
 
OBIEE publisher with Report creation - Tutorial
OBIEE publisher with Report creation - TutorialOBIEE publisher with Report creation - Tutorial
OBIEE publisher with Report creation - Tutorial
 
Django forms
Django formsDjango forms
Django forms
 

More from Audaxis

Grand Nord IT Days 2015 : Comment les solutions Open Source peuvent-elles re...
Grand Nord IT Days 2015 : Comment les solutions Open Source peuvent-elles re...Grand Nord IT Days 2015 : Comment les solutions Open Source peuvent-elles re...
Grand Nord IT Days 2015 : Comment les solutions Open Source peuvent-elles re...
Audaxis
 
Tout savoir sur les ERP Open Source
Tout savoir sur les ERP Open SourceTout savoir sur les ERP Open Source
Tout savoir sur les ERP Open Source
Audaxis
 
App mobile force de vente - ERP Compiere et Odoo
App mobile force de vente - ERP Compiere et OdooApp mobile force de vente - ERP Compiere et Odoo
App mobile force de vente - ERP Compiere et Odoo
Audaxis
 
Odoo Open days 2014 Odoo Tablet Application for Sales Representative powered ...
Odoo Open days 2014 Odoo Tablet Application for Sales Representative powered ...Odoo Open days 2014 Odoo Tablet Application for Sales Representative powered ...
Odoo Open days 2014 Odoo Tablet Application for Sales Representative powered ...
Audaxis
 
Open Days 2014 Odoo "Reflex WMS" connector
Open Days 2014 Odoo "Reflex WMS" connectorOpen Days 2014 Odoo "Reflex WMS" connector
Open Days 2014 Odoo "Reflex WMS" connector
Audaxis
 
Open Days 2014 Odoo Architecture and readiness for web integration
Open Days 2014 Odoo Architecture and readiness for web integrationOpen Days 2014 Odoo Architecture and readiness for web integration
Open Days 2014 Odoo Architecture and readiness for web integration
Audaxis
 
La BI au service de métiers en pleine mutation
La BI au service de métiers en pleine mutationLa BI au service de métiers en pleine mutation
La BI au service de métiers en pleine mutation
Audaxis
 
OpenERP, l'ERP open source dernière génération
OpenERP, l'ERP open source dernière générationOpenERP, l'ERP open source dernière génération
OpenERP, l'ERP open source dernière génération
Audaxis
 
dpi24/7, la plateforme de publication digitale pour les groupes de presse
dpi24/7, la plateforme de publication digitale pour les groupes de pressedpi24/7, la plateforme de publication digitale pour les groupes de presse
dpi24/7, la plateforme de publication digitale pour les groupes de presse
Audaxis
 
Compiere, l'ERP open source qui s'adapte à votre métier
Compiere, l'ERP open source qui s'adapte à votre métierCompiere, l'ERP open source qui s'adapte à votre métier
Compiere, l'ERP open source qui s'adapte à votre métier
Audaxis
 
Jaspersoft Intelligence Inside avec Audaxis
Jaspersoft Intelligence Inside avec AudaxisJaspersoft Intelligence Inside avec Audaxis
Jaspersoft Intelligence Inside avec Audaxis
Audaxis
 
Comment faire converger e-commerce et vente en magasin?
Comment faire converger e-commerce et vente en magasin?Comment faire converger e-commerce et vente en magasin?
Comment faire converger e-commerce et vente en magasin?
Audaxis
 
Projet ERP Compiere auprès d'une organisation patronale
Projet ERP Compiere auprès d'une organisation patronaleProjet ERP Compiere auprès d'une organisation patronale
Projet ERP Compiere auprès d'une organisation patronale
Audaxis
 
Retour d'expérience de Laser Loyalty sur le choix de l'ERP Compiere
Retour d'expérience de Laser Loyalty sur le choix de l'ERP CompiereRetour d'expérience de Laser Loyalty sur le choix de l'ERP Compiere
Retour d'expérience de Laser Loyalty sur le choix de l'ERP Compiere
Audaxis
 
Gestion des abonnements du groupe Rossel avec Compiere
Gestion des abonnements du groupe Rossel avec CompiereGestion des abonnements du groupe Rossel avec Compiere
Gestion des abonnements du groupe Rossel avec Compiere
Audaxis
 
L'ERP Compiere choisit par une enseigne de produits de décoration
L'ERP Compiere choisit par une enseigne de produits de décorationL'ERP Compiere choisit par une enseigne de produits de décoration
L'ERP Compiere choisit par une enseigne de produits de décoration
Audaxis
 
Le Centre Hospitalier Universitaire Tivoli de l'Open Source Compiere
Le Centre Hospitalier Universitaire Tivoli de l'Open Source CompiereLe Centre Hospitalier Universitaire Tivoli de l'Open Source Compiere
Le Centre Hospitalier Universitaire Tivoli de l'Open Source Compiere
Audaxis
 
Site e-commerce intégré à l'ERP Compiere pour l'ISO
Site e-commerce intégré à l'ERP Compiere pour l'ISOSite e-commerce intégré à l'ERP Compiere pour l'ISO
Site e-commerce intégré à l'ERP Compiere pour l'ISO
Audaxis
 
Projet Jaspersoft BI pour une société multi-enseignes
Projet Jaspersoft BI pour une société multi-enseignesProjet Jaspersoft BI pour une société multi-enseignes
Projet Jaspersoft BI pour une société multi-enseignes
Audaxis
 
Drupal, rotative numérique pour un groupe de presse
Drupal, rotative numérique pour un groupe de presseDrupal, rotative numérique pour un groupe de presse
Drupal, rotative numérique pour un groupe de presse
Audaxis
 

More from Audaxis (20)

Grand Nord IT Days 2015 : Comment les solutions Open Source peuvent-elles re...
Grand Nord IT Days 2015 : Comment les solutions Open Source peuvent-elles re...Grand Nord IT Days 2015 : Comment les solutions Open Source peuvent-elles re...
Grand Nord IT Days 2015 : Comment les solutions Open Source peuvent-elles re...
 
Tout savoir sur les ERP Open Source
Tout savoir sur les ERP Open SourceTout savoir sur les ERP Open Source
Tout savoir sur les ERP Open Source
 
App mobile force de vente - ERP Compiere et Odoo
App mobile force de vente - ERP Compiere et OdooApp mobile force de vente - ERP Compiere et Odoo
App mobile force de vente - ERP Compiere et Odoo
 
Odoo Open days 2014 Odoo Tablet Application for Sales Representative powered ...
Odoo Open days 2014 Odoo Tablet Application for Sales Representative powered ...Odoo Open days 2014 Odoo Tablet Application for Sales Representative powered ...
Odoo Open days 2014 Odoo Tablet Application for Sales Representative powered ...
 
Open Days 2014 Odoo "Reflex WMS" connector
Open Days 2014 Odoo "Reflex WMS" connectorOpen Days 2014 Odoo "Reflex WMS" connector
Open Days 2014 Odoo "Reflex WMS" connector
 
Open Days 2014 Odoo Architecture and readiness for web integration
Open Days 2014 Odoo Architecture and readiness for web integrationOpen Days 2014 Odoo Architecture and readiness for web integration
Open Days 2014 Odoo Architecture and readiness for web integration
 
La BI au service de métiers en pleine mutation
La BI au service de métiers en pleine mutationLa BI au service de métiers en pleine mutation
La BI au service de métiers en pleine mutation
 
OpenERP, l'ERP open source dernière génération
OpenERP, l'ERP open source dernière générationOpenERP, l'ERP open source dernière génération
OpenERP, l'ERP open source dernière génération
 
dpi24/7, la plateforme de publication digitale pour les groupes de presse
dpi24/7, la plateforme de publication digitale pour les groupes de pressedpi24/7, la plateforme de publication digitale pour les groupes de presse
dpi24/7, la plateforme de publication digitale pour les groupes de presse
 
Compiere, l'ERP open source qui s'adapte à votre métier
Compiere, l'ERP open source qui s'adapte à votre métierCompiere, l'ERP open source qui s'adapte à votre métier
Compiere, l'ERP open source qui s'adapte à votre métier
 
Jaspersoft Intelligence Inside avec Audaxis
Jaspersoft Intelligence Inside avec AudaxisJaspersoft Intelligence Inside avec Audaxis
Jaspersoft Intelligence Inside avec Audaxis
 
Comment faire converger e-commerce et vente en magasin?
Comment faire converger e-commerce et vente en magasin?Comment faire converger e-commerce et vente en magasin?
Comment faire converger e-commerce et vente en magasin?
 
Projet ERP Compiere auprès d'une organisation patronale
Projet ERP Compiere auprès d'une organisation patronaleProjet ERP Compiere auprès d'une organisation patronale
Projet ERP Compiere auprès d'une organisation patronale
 
Retour d'expérience de Laser Loyalty sur le choix de l'ERP Compiere
Retour d'expérience de Laser Loyalty sur le choix de l'ERP CompiereRetour d'expérience de Laser Loyalty sur le choix de l'ERP Compiere
Retour d'expérience de Laser Loyalty sur le choix de l'ERP Compiere
 
Gestion des abonnements du groupe Rossel avec Compiere
Gestion des abonnements du groupe Rossel avec CompiereGestion des abonnements du groupe Rossel avec Compiere
Gestion des abonnements du groupe Rossel avec Compiere
 
L'ERP Compiere choisit par une enseigne de produits de décoration
L'ERP Compiere choisit par une enseigne de produits de décorationL'ERP Compiere choisit par une enseigne de produits de décoration
L'ERP Compiere choisit par une enseigne de produits de décoration
 
Le Centre Hospitalier Universitaire Tivoli de l'Open Source Compiere
Le Centre Hospitalier Universitaire Tivoli de l'Open Source CompiereLe Centre Hospitalier Universitaire Tivoli de l'Open Source Compiere
Le Centre Hospitalier Universitaire Tivoli de l'Open Source Compiere
 
Site e-commerce intégré à l'ERP Compiere pour l'ISO
Site e-commerce intégré à l'ERP Compiere pour l'ISOSite e-commerce intégré à l'ERP Compiere pour l'ISO
Site e-commerce intégré à l'ERP Compiere pour l'ISO
 
Projet Jaspersoft BI pour une société multi-enseignes
Projet Jaspersoft BI pour une société multi-enseignesProjet Jaspersoft BI pour une société multi-enseignes
Projet Jaspersoft BI pour une société multi-enseignes
 
Drupal, rotative numérique pour un groupe de presse
Drupal, rotative numérique pour un groupe de presseDrupal, rotative numérique pour un groupe de presse
Drupal, rotative numérique pour un groupe de presse
 

Recently uploaded

Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
maigasapphire
 
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdfAcumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
BrainSell Technologies
 
(CISOPlatform Summit & SACON 2024) Orientation by CISO Platform_ Using CISO P...
(CISOPlatform Summit & SACON 2024) Orientation by CISO Platform_ Using CISO P...(CISOPlatform Summit & SACON 2024) Orientation by CISO Platform_ Using CISO P...
(CISOPlatform Summit & SACON 2024) Orientation by CISO Platform_ Using CISO P...
Priyanka Aash
 
Google I/O Extended Harare Merged Slides
Google I/O Extended Harare Merged SlidesGoogle I/O Extended Harare Merged Slides
Google I/O Extended Harare Merged Slides
Google Developer Group - Harare
 
(CISOPlatform Summit & SACON 2024) Cyber Insurance & Risk Quantification.pdf
(CISOPlatform Summit & SACON 2024) Cyber Insurance & Risk Quantification.pdf(CISOPlatform Summit & SACON 2024) Cyber Insurance & Risk Quantification.pdf
(CISOPlatform Summit & SACON 2024) Cyber Insurance & Risk Quantification.pdf
Priyanka Aash
 
(CISOPlatform Summit & SACON 2024) Regulation & Response In Banks.pdf
(CISOPlatform Summit & SACON 2024) Regulation & Response In Banks.pdf(CISOPlatform Summit & SACON 2024) Regulation & Response In Banks.pdf
(CISOPlatform Summit & SACON 2024) Regulation & Response In Banks.pdf
Priyanka Aash
 
Mastering OnlyFans Clone App Development: Key Strategies for Success
Mastering OnlyFans Clone App Development: Key Strategies for SuccessMastering OnlyFans Clone App Development: Key Strategies for Success
Mastering OnlyFans Clone App Development: Key Strategies for Success
David Wilson
 
Acumatica vs. Sage Intacct _Construction_July (1).pptx
Acumatica vs. Sage Intacct _Construction_July (1).pptxAcumatica vs. Sage Intacct _Construction_July (1).pptx
Acumatica vs. Sage Intacct _Construction_July (1).pptx
BrainSell Technologies
 
Introduction-to-the-IAM-Platform-Implementation-Plan.pptx
Introduction-to-the-IAM-Platform-Implementation-Plan.pptxIntroduction-to-the-IAM-Platform-Implementation-Plan.pptx
Introduction-to-the-IAM-Platform-Implementation-Plan.pptx
313mohammedarshad
 
Using LLM Agents with Llama 3, LangGraph and Milvus
Using LLM Agents with Llama 3, LangGraph and MilvusUsing LLM Agents with Llama 3, LangGraph and Milvus
Using LLM Agents with Llama 3, LangGraph and Milvus
Zilliz
 
Tailored CRM Software Development for Enhanced Customer Insights
Tailored CRM Software Development for Enhanced Customer InsightsTailored CRM Software Development for Enhanced Customer Insights
Tailored CRM Software Development for Enhanced Customer Insights
SynapseIndia
 
Vulnerability Management: A Comprehensive Overview
Vulnerability Management: A Comprehensive OverviewVulnerability Management: A Comprehensive Overview
Vulnerability Management: A Comprehensive Overview
Steven Carlson
 
Sonkoloniya documentation - ONEprojukti.pdf
Sonkoloniya documentation - ONEprojukti.pdfSonkoloniya documentation - ONEprojukti.pdf
Sonkoloniya documentation - ONEprojukti.pdf
SubhamMandal40
 
Zaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdfZaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdf
AmandaCheung15
 
Connector Corner: Leveraging Snowflake Integration for Smarter Decision Making
Connector Corner: Leveraging Snowflake Integration for Smarter Decision MakingConnector Corner: Leveraging Snowflake Integration for Smarter Decision Making
Connector Corner: Leveraging Snowflake Integration for Smarter Decision Making
DianaGray10
 
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
aslasdfmkhan4750
 
Mule Experience Hub and Release Channel with Java 17
Mule Experience Hub and Release Channel with Java 17Mule Experience Hub and Release Channel with Java 17
Mule Experience Hub and Release Channel with Java 17
Bhajan Mehta
 
(CISOPlatform Summit & SACON 2024) Workshop _ Most Dangerous Attack Technique...
(CISOPlatform Summit & SACON 2024) Workshop _ Most Dangerous Attack Technique...(CISOPlatform Summit & SACON 2024) Workshop _ Most Dangerous Attack Technique...
(CISOPlatform Summit & SACON 2024) Workshop _ Most Dangerous Attack Technique...
Priyanka Aash
 
Feature sql server terbaru performance.pptx
Feature sql server terbaru performance.pptxFeature sql server terbaru performance.pptx
Feature sql server terbaru performance.pptx
ssuser1915fe1
 
The Role of IoT in Australian Mobile App Development - PDF Guide
The Role of IoT in Australian Mobile App Development - PDF GuideThe Role of IoT in Australian Mobile App Development - PDF Guide
The Role of IoT in Australian Mobile App Development - PDF Guide
Shiv Technolabs
 

Recently uploaded (20)

Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
 
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdfAcumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
 
(CISOPlatform Summit & SACON 2024) Orientation by CISO Platform_ Using CISO P...
(CISOPlatform Summit & SACON 2024) Orientation by CISO Platform_ Using CISO P...(CISOPlatform Summit & SACON 2024) Orientation by CISO Platform_ Using CISO P...
(CISOPlatform Summit & SACON 2024) Orientation by CISO Platform_ Using CISO P...
 
Google I/O Extended Harare Merged Slides
Google I/O Extended Harare Merged SlidesGoogle I/O Extended Harare Merged Slides
Google I/O Extended Harare Merged Slides
 
(CISOPlatform Summit & SACON 2024) Cyber Insurance & Risk Quantification.pdf
(CISOPlatform Summit & SACON 2024) Cyber Insurance & Risk Quantification.pdf(CISOPlatform Summit & SACON 2024) Cyber Insurance & Risk Quantification.pdf
(CISOPlatform Summit & SACON 2024) Cyber Insurance & Risk Quantification.pdf
 
(CISOPlatform Summit & SACON 2024) Regulation & Response In Banks.pdf
(CISOPlatform Summit & SACON 2024) Regulation & Response In Banks.pdf(CISOPlatform Summit & SACON 2024) Regulation & Response In Banks.pdf
(CISOPlatform Summit & SACON 2024) Regulation & Response In Banks.pdf
 
Mastering OnlyFans Clone App Development: Key Strategies for Success
Mastering OnlyFans Clone App Development: Key Strategies for SuccessMastering OnlyFans Clone App Development: Key Strategies for Success
Mastering OnlyFans Clone App Development: Key Strategies for Success
 
Acumatica vs. Sage Intacct _Construction_July (1).pptx
Acumatica vs. Sage Intacct _Construction_July (1).pptxAcumatica vs. Sage Intacct _Construction_July (1).pptx
Acumatica vs. Sage Intacct _Construction_July (1).pptx
 
Introduction-to-the-IAM-Platform-Implementation-Plan.pptx
Introduction-to-the-IAM-Platform-Implementation-Plan.pptxIntroduction-to-the-IAM-Platform-Implementation-Plan.pptx
Introduction-to-the-IAM-Platform-Implementation-Plan.pptx
 
Using LLM Agents with Llama 3, LangGraph and Milvus
Using LLM Agents with Llama 3, LangGraph and MilvusUsing LLM Agents with Llama 3, LangGraph and Milvus
Using LLM Agents with Llama 3, LangGraph and Milvus
 
Tailored CRM Software Development for Enhanced Customer Insights
Tailored CRM Software Development for Enhanced Customer InsightsTailored CRM Software Development for Enhanced Customer Insights
Tailored CRM Software Development for Enhanced Customer Insights
 
Vulnerability Management: A Comprehensive Overview
Vulnerability Management: A Comprehensive OverviewVulnerability Management: A Comprehensive Overview
Vulnerability Management: A Comprehensive Overview
 
Sonkoloniya documentation - ONEprojukti.pdf
Sonkoloniya documentation - ONEprojukti.pdfSonkoloniya documentation - ONEprojukti.pdf
Sonkoloniya documentation - ONEprojukti.pdf
 
Zaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdfZaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdf
 
Connector Corner: Leveraging Snowflake Integration for Smarter Decision Making
Connector Corner: Leveraging Snowflake Integration for Smarter Decision MakingConnector Corner: Leveraging Snowflake Integration for Smarter Decision Making
Connector Corner: Leveraging Snowflake Integration for Smarter Decision Making
 
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
High Profile Girls Call ServiCe Hyderabad 0000000000 Tanisha Best High Class ...
 
Mule Experience Hub and Release Channel with Java 17
Mule Experience Hub and Release Channel with Java 17Mule Experience Hub and Release Channel with Java 17
Mule Experience Hub and Release Channel with Java 17
 
(CISOPlatform Summit & SACON 2024) Workshop _ Most Dangerous Attack Technique...
(CISOPlatform Summit & SACON 2024) Workshop _ Most Dangerous Attack Technique...(CISOPlatform Summit & SACON 2024) Workshop _ Most Dangerous Attack Technique...
(CISOPlatform Summit & SACON 2024) Workshop _ Most Dangerous Attack Technique...
 
Feature sql server terbaru performance.pptx
Feature sql server terbaru performance.pptxFeature sql server terbaru performance.pptx
Feature sql server terbaru performance.pptx
 
The Role of IoT in Australian Mobile App Development - PDF Guide
The Role of IoT in Australian Mobile App Development - PDF GuideThe Role of IoT in Australian Mobile App Development - PDF Guide
The Role of IoT in Australian Mobile App Development - PDF Guide
 

How to Import data into OpenERP V7

  • 1. BEST PRACTICES ON HOW TO IMPORT DATA INTO OPENERP Why you should love CSV Import Cyril MORISSE ( @cmorisse )
  • 2. Introduction  With Test Driven Development and Data Migration, we need to gather and enter real data owned by users  We need a data format within user’s reach (compared to XML)  As of version 7.0 OpenERP has redesigned the import system (“base_import” module):  It has nearly everything right out of the box  Only missing feature is user oriented documentation  This talk is an overview of the module
  • 3. Installation  Export functionality is available right out of the box  BUT import functionality must be installed:  Import is covered by “base_import” module  Import must be installed via Settings / Configuration / General Settings  Then “Import” link is available in all list/tree views
  • 4. CSV import issues  When importing data using CSV, you will face 3 main issues: Identify the fields required for an import Understand “OpenERP External IDs” Understand how to import the different type of fields Simple fields ( date, text, numbers, boolean,…) Relational fields:  Many2many  Many2One  One2many
  • 5. Identify fields to import  To identify the columns required to import an object: 1. Activate “Developer Mode” 2. Write down all the fields you must enter manually 3. Export a file with all these fields 4. Delete values in the id column then re-import the file to check everything is ok 5. If a column is missing ; do it again from step 3 and add the column
  • 6. Understand IDs  Example Product categories  CSV Import allows User Defined External IDs  External IDs are symbolic names for records  Format is module_name.id_name
  • 7. Understand IDs (continued)  User defined IDs are saved in the database and can be retrieved via:  Settings / Technical / Sequences & Identifiers / External Identifiers
  • 8. Understand IDs (end)  User defined IDs allow to manage Import / Update of data  During import:  If a record exists with this ID, OpenERP will update the record  If no record exists with this ID, OpenERP will create a new record  Export IDs  During Export, OpenERP creates an export ID for all records without IDs (manually created records)  In the database all External IDs are stored in table ir_model_data
  • 9. Import simple Fields Field type Cell content Example char, text Content surrounded by “ “This is a text ""value”"." float Number with . as decimal separator 3.15 boolean True or False “0” or 0 or “False” or False or “1” or 1 or “True” or True date YYYY-MM-DD 2013-06-10 datetime YYYY-MM-DD HH:MM:SS 2013-06-10 07:07 selection Value as given by “developer mode” inspector reference Value in database is “object,id”
  • 10. Import relations: Many2One  Many2one  This is the simplest relation to import in CSV  Just use id of referenced object id parent_id product_category ...
  • 11. Import relations: Many2Many  Eg. Customer Tags  Many2many involves 3 tables  Really simple in CSV ; enter all values separated by comma with no space ... id res_partner id ... res_partner_category category_idpartner_id res_partner_res_partner_category_rel
  • 12. Import relations: One2Many  Eg. Quotations/ Quotations Lines  In CSV: Enter lines while you don’t repeat header object fields  Child objects column format is “one2many_fieldname/child_object_field” ... id sale_order id order_id sale_order_line ...
  • 13. Integrate CSV in your development workflow  Create a set of shared Google Spreadsheet that your users will complete with project data  Organize your OpenERP project in 3 modules:  project_core with code and technical parameters  project_data : will contains only data in CSV files  project_test : contains your test code and test specific data  Use a tool to automate export and download of the Google Spreadsheet into the project_data module  http://bitbucket.org/cmorisse/edgdd  Your users will be able to “cooperatively” enter their data and you will be able to seamlessly integrate and use this data in your project
  • 14. More information? www.audaxis.com Contact us openerp@audaxis.com 14 Visit our booth at OpenERP Community Days in Hall K