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

Adapting the configuration file for production


In Chapter 1, Installing the Odoo Development Environment we have seen how to save the configuration of the instance in a file. We used the default values for lots of parameters, and if you've followed the Standardize your instance directory layout recipe in Chapter 2, Managing Odoo Server Instances, as well as the previous recipe for the production installation, you should now have that same configuration file in the production environment. This recipe shows how to derive a configuration file that is suitable for use in production.

Getting ready

We assume that you have installed Odoo on the production server with the previous recipe, Install Odoo for production. We assume that you will be running PostgreSQL on the same server as Odoo.

You may want to install the pwgen utility to generate random passwords.

We are describing the steps here as if you were running them on the production server, but they can also be executed on your development server...