Odoo Help

Welcome!

This community 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.

0

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

By
Daniel Kauffman
on 11/4/14, 12:18 PM 575 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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