Book Image

Odoo 12 Development Essentials - Fourth Edition

By : Daniel Reis
Book Image

Odoo 12 Development Essentials - Fourth Edition

By: Daniel Reis

Overview of this book

Odoo is one of the best platforms for open source ERP and CRM. Its latest version, Odoo 12, brings with it new features and updates in Python packages to develop more customizable applications with additional cloud capabilities. The book begins by covering the development essentials for building business applications. You will start your journey by learning how to install and configure Odoo, and then transition from having no specific knowledge of Odoo to being ready for application development. You will develop your first Odoo application and understand topics such as models and views. Odoo 12 Development Essentials will also guide you in using server APIs to add business logic, helping you lay a solid foundation for advanced topics. As you progress through the chapters, you will be equipped to build and customize your applications and explore the new features in Odoo 12, such as cloud integration, to scale your business applications. You will get insights into building business logic and integrating various APIs into your application. By the end of the book, you will be able to build a business application from scratch by using the latest version of Odoo.
Table of Contents (22 chapters)
Title Page
Packt Upsell
Foreword
Contributors
Preface
Index

Exporting and importing CSV data files


An easy way to generate data files and get an insight on what structure the files should have is to use the built-in export feature.

With generated CSV files, we can learn about the format that's needed to import data manually into the system, or edit them to perform mass updates, or even use them to produce demo data for our add-on modules.

Here, we will learn about the basics of exporting and importing data from Odoo's user interface.

Exporting data

Data exporting is a standard feature that's available in any list view. To use it, we must first pick the rows to export by selecting the corresponding checkboxes, on the far left, and then selecting the Export option from the Action button at the top of the list.

 

First, we should add a couple of Odoo books to the Library app, with their publishers and authors. For the following example, we created Odoo Development Essentials 11 and Odoo 11 Development Cookbook.

We also need to have the Contacts app installed...