Import, Export, and Module Data

Most Odoo module definitions, such as user interfaces and security rules, are actually data records stored in specific database tables. The XML and CSV files found in modules are not used by Odoo applications at runtime. They are a means to load those definitions into the database tables.

Because of this, an important part of Odoo modules is about representing that data in files so that it can be loaded into a database upon module installation.

Modules can also have initial data and demonstration data. Data files allow us to add that to our modules. Additionally, understanding Odoo data representation formats is important in order to export and import business data within the context of a project implementation. ...

Get Odoo 11 Development Essentials - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.