Home Programming Working with Odoo

Working with Odoo

By Greg Moss
books-svg-icon Book
Subscription FREE
eBook + Subscription €14.99
eBook €36.99
Print + eBook €45.99
READ FOR FREE Free Trial for 7 days. €14.99 p/m after trial. Cancel Anytime! BUY NOW BUY NOW BUY NOW
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
READ FOR FREE Free Trial for 7 days. €14.99 p/m after trial. Cancel Anytime! BUY NOW BUY NOW BUY NOW
Subscription FREE
eBook + Subscription €14.99
eBook €36.99
Print + eBook €45.99
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
  1. Free Chapter
    Setting Up Odoo
About 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.
Publication date:
August 2015
Publisher
Packt
Pages
432
ISBN
9781784394554

 

Chapter 1. Setting Up Odoo

Odoo is a powerful set of open source business applications built on the OpenObject framework. When you first install Odoo, the only functionality you will have is limited messaging options between users. From there, Odoo allows you to install the modules you need as you need them. This flexibility makes Odoo much more accessible than many business software solutions.

In this chapter, we will get started working with Odoo by covering the installation and the basics of setting up an Odoo database.

The topics we will cover include:

  • Using the free two-user edition of Odoo

  • Setting up a trial company

  • Installing Odoo on Windows and Ubuntu

  • Troubleshooting and configuring your installation

 

Getting started with Odoo online


Not long ago, nearly all companies kept their primary information systems in-house. This approach requires not only a lot of capital expense in purchasing servers and software licenses, but also creates a lot of responsibility and risk in backing up data and ensuring business continuity. Today, more and more companies are choosing to host their business applications in online networks commonly known as the cloud. Odoo allows you the flexibility of both options—either hosting on your own hardware, or utilizing Odoo's online software services.

Taking advantage of Odoo online

The best thing about accessing Odoo online is that you can jump in and start using the software right away. You don't have to decide what operating system to use. You don't have to install any software at all. Just enter the URL into your web browser and you are ready to get started.

Another added benefit of taking this approach is that you will verify that your web browser is up to date and compatible with the latest version of Odoo. So, even if you intend to install Odoo on your own hardware, it is still worth taking a minute to test out the online trial version of Odoo. Expect to put a great deal of time into determining which Odoo applications are right for your company.

Taking a few hours to use the Odoo online version is time well spent and you can put off installing Odoo until you are more certain it is the right software for your business.

Tip

Use the Odoo free edition to verify browser compatibility with any older machines.

Odoo browser requirements

Odoo is designed to run on a variety of modern web browsers. Supported browsers include:

  • Google Chrome (recommended)

  • Firefox

  • Internet Explorer

  • Safari

Tip

Macintosh users will need to make sure they are running Mac OS X or above. Users running older Macintosh systems are currently having difficulties running Odoo version 7. Also, in my experience, Google Chrome tends to offer the best experience in working with Odoo. Firefox is also often recommended by others in the Odoo community.

Odoo mobile phone and tablet support

Beginning with Odoo 8, Odoo has native support for mobile phones and tablets. Menus are designed to flow and format properly. The new website application even includes a preview within the portal administration to emulate how the site would appear on a mobile phone. While you still suffer many of the limitations that come with a small screen size, the applications are functional and make it even easier for developers to create mobile Odoo applications.

Odoo's mobile application support covers both the Android and Apple iOS platforms. Make sure, however, that for any processes you intend to implement for your business, you test all processes thoroughly for both desktop and any mobile solutions. Smaller screen sizes might make some data unreadable or very awkward to work with.

Accessing the Odoo free online trial

Accessing the online trial version of Odoo online could not be simpler. Just open up your browser and navigate to https://www.odoo.com/start.

You will then be prompted to choose one of more than 20 business applications, as shown in the following screenshot:

Don't worry, you can add more applications later:

Clicking on the appropriate button for the application immediately begins installing your own unique Odoo instance.

For our example, let's go ahead and install the CRM application by clicking on the Install CRM button:

Be patient as it can take thirty seconds or longer for the servers to build the database and bring up the starting page. When the installation is complete, Odoo automatically signs you in so you can begin trying out the software. The goal of this approach is to get users to directly start using the software right away and avoid having to fill out lengthy forms or create logins and passwords to begin using the software. It really is just one click and you have your own version of Odoo to play with.

In the preceding screenshot, you can see the screen that appears after installing the CRM application. With it, you can manage your customers, leads, and opportunities. We will discuss the CRM application in detail in Chapter 3, Exploring Customer Relationship Management in Odoo.

Take a few minutes to look around in Odoo to get familiar with the interface. You don't have to worry about breaking anything or doing anything wrong. If you run into problems or get confused, just close your web browser and try again.

Note

This is a demonstration and will only last for one four-hour session. If you close your browser, you will lose your setup and have to start over again.

Continuing to use the trial version of Odoo

At the very top of the Odoo application, just under the address bar in the browser, you will see a message that informs you about how much longer your trial version of Odoo will run before you need to register. Also, remember that it is possible to lose this instance of Odoo before the time runs out.

Clicking on the message will take you to the typical standard signup form to provide your name, e-mail, and other information to register your trial version of Odoo:

After you have filled out the form and clicked on Start using, the Odoo application will once again reload. Now, you will see in the top-right-hand corner that you are logged in under the name you provided in the signup form. Also, you will see at the top, a countdown of how many days are remaining in your trial version.

Subscribing to Odoo

For 15 days, you can use Odoo for free without subscribing. Once your 15 days run out, you must subscribe to Odoo in order to keep using their enterprise cloud-hosted version of the software. The first two users of Odoo are free indefinitely.

This means you can sign up and continue using Odoo with just two users without having to pay any monthly fees. For additional users, the current pricing is $25 per month, per user at the time of writing. Each application that you use also will incur a monthly cost depending upon the specific application.

The following screenshot is the Odoo Online Pricing calculator in July of 2015:

You can locate the Odoo Online Pricing page at https://www.odoo.com/pricing-online.

Tip

Odoo Online is priced for employees that use the applications. You are not charged for customers or suppliers that access Odoo through the web portal.

Depending on your requirements, an Odoo subscription might be a good decision. Installing and maintaining an Odoo installation takes a degree of expertise and has risks for production systems. You must maintain adequate disaster recovery procedures in case of server crashes or hard drive failures. There are also complexities in applying bug fixes and migrating to newer versions of Odoo. This book will help you with many of these tasks. Yet, it can be quite convenient to have an Odoo subscription so you can focus on the functional, rather than the technical, aspects of working with Odoo.

To subscribe to Odoo online and continue using Odoo past the 15 day trial period, click on the Subscribe to keep it running link at the top of the page:

Using Odoo without subscription fees

If you choose not to pay the subscription fee, do not fear! The remainder of this chapter will assist you with installing Odoo on your own hardware.

 

Getting to know the Odoo architecture


Setting up and managing an Odoo installation will require a basic understanding of the components that make up Odoo. Every business system has a set of technologies and underlying software platforms that are required for the system to function. Fortunately, unless you plan to customize Odoo, you only need to understand the very basics of the Odoo architecture to complete a successful installation.

Tip

In this book, we provide a basic overview of the Odoo architecture. If you wish to get more detailed documentation on the Odoo architecture, visit https://doc.Odoo.com/trunk/server/02_architecture/.

Introducing the PostgreSQL database

Like most ERP systems, Odoo has specific database requirements. In this case, it is PostgreSQL. PostgreSQL is an open source, cross-platform Object Relational Database Management System (ORDMS). While not popular on the scale of Microsoft SQL Server or MySQL, PostgreSQL is an enterprise-class database server with many advanced features. In fact, PostgreSQL stacks up very well against far more expensive databases such as Microsoft SQL Server and Oracle Database.

PostgreSQL runs on every major operating system. For most Odoo installations, Ubuntu is the operating system of choice. However, PostgreSQL will also run quite well under other versions of Linux, Microsoft Windows, and even Mac OS X.

You can learn more about PostgreSQL at http://www.postgresql.org/.

Writing code with Python

The primary programming language of Odoo is Python. Like the other technologies underlying Odoo, the Python language is open source and runs on all the major contemporary operating systems. It is an extremely popular programming language which makes it very easy to find resources to help you get started.

You can learn more about the Python programming language at http://python.org/.

Following the Model-View-Controller design

Odoo is built upon a Model-View-Controller (MVC) architecture. One of the primary goals of this architecture is to separate the visual display of the information from the business rules and management of the underlying data. For example, if you need to change the way data is organized in the model, it is desirable not to have to make dramatic changes to how you view the data. This is true for maintaining flexibility in viewing data. Today, it is common to have many different client applications sharing the same underlying data.

Designing models

The model is essentially the data that makes up your Odoo installation, which is stored in the PostgreSQL database. Odoo is unique, in that, database structures are typically defined by the Odoo modules at the time they are installed. The Odoo framework takes the model definitions and automatically creates the necessary table structures inside the PostgreSQL database. Furthermore, a web interface in Odoo allows administrators to easily extend the Odoo data model in a variety of ways without having to modify the Odoo source code.

Rendering views

Each view in Odoo is defined in XML documents. The Odoo framework is responsible for rendering these view files in a web browser. Alternative views can be built to render Odoo functionality upon other platforms such as mobile devices.

Authoring controllers

The controller component of the architecture is where the business logic and workflow rules of the Odoo application are applied. The controller components in Odoo are written in Python code and stored as objects in Odoo modules.

           
About the Author
  • Greg Moss

    Greg Moss has been a business and information systems consultant for over 30 years and is both a Certified Information Systems Auditor (CISA) and a Certified Six Sigma Black Belt. He also has an Information Assurance Certification from Carnegie Melon University. Presently, Greg is the CEO of First Class Ventures, LLC., the owner of First Class Computer Consulting—Odoo consulting and training, the Odoo Class website, and an Odoo Ready partner. Greg is the founder of Odoo Class, a technical training platform for Odoo. He has published more than 20 courses on Udemy. In his spare time, Greg enjoys playing the trumpet, saxophone, keyboard, and guitar, and taking cross-country road trips with his African grey parrot, Bibi.

    Browse publications by this author
Latest Reviews (7 reviews total)
O livro apresenta um excelente overview da parte funcional do core do Odoo.
Excellent beginners guide
molto utile per conoscere gli aspetti applicativi
Working with Odoo
Unlock this book and the full library FREE for 7 days
Start now