Giter Club home page Giter Club logo

odoo-11-development-coobook-second-edition's Introduction

Odoo 11 Development Cookbook - Second Edition

This is the code repository for Odoo 11 Development Cookbook - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Odoo is a full-featured open source ERP with a focus on extensibility. The flexibility and sustainability of open source are 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. Version 11 offers better usability and speed: a new design (as compared to the current Odoo Enterprise version) and a mobile interface.

The book starts by covering Odoo installation and administration and Odoo Server deployment. It then delves into the implementation of Odoo modules, the different inheritance models available in Odoo. You will then learn how to define access rules for your data; how to make your application available in different languages; how to expose your data models to end users on the back end and on the front end; and how to create beautiful PDF versions of your data.

By the end of the book, you will have a thorough knowledge of Odoo and will be able to build effective applications by applying Odoo development best practices

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter03.

The code will look like the following:

from odoo import models, fields, api 
class LibraryBook(models.Model): 
    # [...] 
    state = fields.Selection([('draft', 'Unavailable'), 
                              ('available', 'Available'), 
                              ('borrowed', 'Borrowed'), 
                              ('lost', 'Lost')], 
                             'State') 

The setup recipes in Chapter 1, Installing the Odoo Development Environment, and Chapter 16, Web Client Development, expect that you are working on a server running Debian GNU/Linux, or a derivative distribution such as Ubuntu, in a reasonably up-to-date release. If you are running another distribution, things should be fairly straightforward; the main differences should be in the names of the packages to install, and possibly the location of the configuration files of PostgreSQL and Nginx.

If your workstation is running Windows or MacOS, we advise you to set up a Debian virtual machine to work with Odoo. While it is possible to develop natively on Windows or Mac, having a development environment as close to the deployment environment as possible is a good way to avoid nasty surprises, and GNU/Linux is the recommended deployment platform for Odoo.

Is there a recommended Integrated Development Environment (IDE) for Odoo? This is a frequently asked question by newcomers. The best answer is to use whatever tool you are familiar with. Popular choices include Eclipse or PyCharm, but a very high number of experimented developers, including the core Odoo developers, just use a programming text editor such as vim, GNU emacs, or Sublime Text to have syntax highlighting and useful helpers such as automatic indentation, while using the Python debugger for debugging. It is recommended that you start with the basic tools, because IDEs have a tendency to hide complexity that you should be familiar with in order to fix the more difficult problems.

Related Products

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781788471817

odoo-11-development-coobook-second-edition's People

Contributors

packt-itservice avatar packtutkarshr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.