Chapter 13: Web Server Development
We'll introduce the basics of the web server part of Odoo in this chapter. Note that this will cover the fundamental aspects. 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
(https://werkzeug.palletsprojects.com/en/1.0.x/). While the complexity of werkzeug
is mostly hidden by Odoo's convenient wrappers, it is interesting to see how things work under the hood, if you want to read up on it.
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
- Serving static resources