Summary
In this chapter, we learned how to represent data in text files. These can be used to manually import data into Odoo, or to include in add-on modules as default or demonstration data.
At this point, we should be able to export and import CSV data files from the web interface, and leverage external IDs to detect and update records that already exist in the database. This can also be used to perform a mass edit on data, by editing and reimporting a CSV file that has been exported from Odoo.
We also learned about how the XML data files are structured, and all the features they provide, in more detail. These were not only set values on fields, but also performing actions such as deleting records and calling model methods.
In the next ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access