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.

Get Odoo Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.