Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
In Odoo 7, what are the data dependencies when developing a custom module that imports data from CSV files?
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.
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
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/4/14, 12:18 PM|
|Seen: 657 times|
|Last updated: 3/16/15, 8:10 AM|