Book Image

Odoo Development Cookbook

By : Holger Brunn, Alexandre Fayolle, Daniel Reis
Book Image

Odoo Development Cookbook

By: Holger Brunn, Alexandre Fayolle, Daniel Reis

Overview of this book

Odoo is a full-featured open source ERP with a focus on extensibility. The flexibility and sustainability of open source is also a key selling point of Odoo. It is built on a powerful framework for rapid application development, both for back-end applications and front-end websites. The book starts by covering Odoo installation and administration, and provides a gentle introduction to application development. It then dives deep into several of the areas that an experienced developer will need to use. You’ll learn implement business logic, adapt the UI, and extend existing features.
Table of Contents (23 chapters)
Odoo Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 9. Module Data

In this chapter, we will cover the following topics:

  • Using external IDs and namespaces

  • Loading data using XML files

  • Using the noupdate and forcecreate flags

  • Loading data using CSV files

  • Loading data using YAML files

  • Addon updates and data migration

In order not to have to repeat a lot of code, we'll make use of the models defined in Chapter 4, Application Models. So in order to follow the examples, grab this chapter's code.