Book Image

Working with Odoo

Book Image

Working with Odoo

Overview of this book

With this practical guide, you will cover the essential modules to get Odoo up and running for your company. After installing Odoo, you will use its sales management application to enter quotes, create sales orders, and invoice customers. You will then learn how to integrate the CRM application to manage your leads and convert them into lucrative opportunities and sales. Next, you will set up your own purchase management system, assigning products to suppliers and tracking orders with the new warehouse management and routing system. Finally, you will learn how to use analytics to track project expenses and keep your accounts simple and easy to maintain and build an Odoo module to extend its functionality and make it work for you. Working with Odoo covers all the core installation and usage functionalities of this popular tool, helping you to fully implement a working ERP system through practical, advanced, real-world examples.
Table of Contents (25 chapters)
Working with Odoo
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Troubleshooting and Odoo management tips


As far as ERP installations go, Odoo is typically very easy to install. Unfortunately, it is possible for an installation to fail for a variety of reasons. In this next section, we will discuss some of the most common installation issues and provide some troubleshooting tips for diagnosis problems with an Odoo installation.

Checking your browser destination

If you have followed the default installation, then your Odoo installation should be accessing Odoo at http://localhost:8069.

Make sure the URL is exactly as you can see it above. If you did change the port number during installation, make sure you change the port in the URL.

Verifying that the Odoo service is running

If you are unable to pull up Odoo in the browser, it can be good to verify that the Odoo services are running.

Checking for Odoo services running in Windows

Pull up the Task Manager and go to the Services tab, then look for Odoo-server8.0. The status should be running, as shown in the following screenshot:

Here is an example of the Odoo-server-8.0 service successfully running on Windows.

Additional Odoo troubleshooting steps for Windows can be found at https://doc.odoo.com/install/windows/server/complementary_install_information/.

Checking for Odoo services running in Ubuntu

In Ubuntu, you can locate the Odoo services by running the following command in a terminal window:

ps aux | grep Odoo

You will then see the Odoo service listed if it is running.

Starting and stopping Odoo services in Ubuntu

When managing an Odoo server, one of the most common tasks you will find yourself performing is starting and stopping the Odoo services. Odoo allows you to start and stop the services with a command switch.

To start the services, use:

sudo /etc/init.d/Odoo-server start

To stop the services, use:

sudo /etc/init.d/Odoo-server stop

Finding the primary Odoo log file

Odoo writes many messages, warnings, and error messages to a log. Often, when troubleshooting problems, this log file is valuable in determining what action you should take. In a default installation, the log file is located at {install directory}/server/server/Odoo-server.log.

The log is especially valuable to locate problems you may have when installing new modules.

Modifying the Odoo configuration file

The Odoo framework allows you to specify a configuration file for your installation. By default, this file is located at /etc/Odoo/Odoo-server.conf.

Using this file, you can change many of the attributes of Odoo.

Changing port numbers

By default, Odoo runs on port 8069. For many installations, the default port will work fine. There are situations, however, where it can be useful to change this default port. One common scenario would be the need to run more than one version of Odoo. Multiple installations cannot run on port 8069, so you will need to modify the port. Sometimes there are security reasons behind changing ports, as many hackers are aware of the default ports that people use.

Fortunately, changing the default port number is easy.

Simply specify:

Port=[port] 

For example, Port=8059 will change the default port for the web client to port 8059.

Accessing the database management tools

Odoo offers database management tools that can be accessed easily through your web browser. This makes it easy to create, backup, and even delete database, all through a web interface. While there are sometimes links available on the login page that will take you to these tools, it is possible that when installing some applications, such as the website builder, you will not find a link easily.

To access the database management tools, use the following path:

[ServerAddress]:[port]/web/database/manager
Changing the admin password

As mentioned earlier, by default, Odoo sets the password for these operations to admin. To secure your server, it is necessary to change this password in your configuration file:

Admin_password=[your password]

Also, be careful while starting up your Odoo server from the command line without specifying an alternative password or the path to the configuration file. If you do, you leave the instance open with the default password.

Finding additional resources for installing Odoo

Installing and configuring Odoo can quickly become a very complex task that is outside the scope of this book. In Appendix, Locating Additional Odoo Resources, you will find links to additional resources that can assist you with installing Odoo.