Odoo Help


In Odoo 7, what are the data dependencies when developing a custom module that imports data from CSV files?

Daniel Kauffman
on 11/4/14, 12:18 PM 1,004 views

For Odoo 7, I am writing a custom module to configure Odoo and import data. Most of the data is being imported from CSV files.

Are there any resources describing the optimal order in which to import data from CSV files?

For example, res.groups must be imported after res.users, or else the imported users will not exist to be added to the imported groups.

Current work-in-progress:

printing.printer.csv # No dependencies.
product.category.csv # No dependencies.
roduct.pricelist.csv # No dependencies.
res.country.state.csv # No dependencies.
res.currency.csv # No dependencies.
res.currency.rate.csv # No dependencies.
res.partner.category.csv # No dependencies.
res.users.csv # No dependencies.
ir.actions.report.xml.csv # Depends on printing.printer.csv

product.price.type.csv # Depends on res.currency.csv
product.pricelist.version.csv # Depends on product.pricelist.csv
res.bank.csv # Depends on res.country.state.csv
res.groups.csv # Depends on res.users.csv
res.partner.csv # Depends on res.country.state.csv and res.partner.category.csv
ir.model.access.csv # Depends on res.groups.csv
product.pricelist.item.csv # Depends on product.price.type.csv and product.pricelist.version.csv.
res.partner.bank.csv # Depends on res.bank.csv
res.company.csv # Depends on res.partner.bank.csv

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/4/14, 12:18 PM
Seen: 1004 times
Last updated: 3/16/15, 8:10 AM