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

Installing and upgrading local addon modules


The core of the functionality of Odoo comes from the addon modules. You have a wealth of addons available as part of Odoo itself as well as addon modules that you can download from the Internet or write yourself.

In this recipe, we will show how to install and upgrade addon modules through the web interface and from the command line.

The main benefits of using the command line for these operations are being able to act on more than one addon at a time and having a clear view of the server logs as the installation or update progresses, which is very useful when in the development mode or when scripting the installation of an instance.

Getting ready

You have an Odoo instance with its database initialized, the addons path is properly set, and the addons list is up to date.

How to do it…

There are two possible methods to install or update addons—you can use the web interface or the command line.

From the web interface

To install a new addon module in your...