O'Reilly logo

Odoo Development Cookbook by Daniel Reis, Alexandre Fayolle, Holger Brunn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Web Server Development

In this chapter, we'll cover the following topics:

  • Making a path accessible from the network
  • Restricting access to web accessible paths
  • Consuming parameters passed to your handlers
  • Modifying an existing handler
  • Using the RPC API

Introduction

We'll introduce the basics of the web server part of Odoo in this chapter. Note that this covers the fundamental pieces. For high-level functionality, you should refer to Chapter 14, CMS Website Development.

All of Odoo's web request handling is driven by the Python library werkzeug (http://werkzeug.pocoo.org). While the complexity of werkzeug is mostly hidden by Odoo's convenient wrappers, it is an interesting read to see how things work under the hood.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required