Importing data

First, we have to make sure the import feature is enabled. In Odoo 9 it is enabled by default. If not, the option is available in the Settings top menu, General Settings menu item. Under the Users section, the Import & Export option should be checked.

With this option enabled, list views show an Import option next to the Create button at the top of the list.

The Import & Export setting in fact installs the base_import module that is responsible for providing this feature.

Let's try a bulk edit on our To-Do data. Open the CSV file we just downloaded in a spreadsheet or a text editor and change a few values. We can also add some new rows, leaving the id column blank for them.

As mentioned before, the first column, id, provides ...

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.