Update master_odoo_web_framework.rst

It seems that chapter 2 is not there. Numbering is then broken.
This commit is contained in:
Hugo Trentesaux 2025-02-13 17:21:27 +01:00 committed by GitHub
parent 4b6e34efc5
commit f76699935c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,18 +23,13 @@ The first project is about building a `clicker game <https://en.wikipedia.org/wi
While working on it, you will learn various aspects of the web framework: systray, command palette,
dialogs, notifications, customizing existing components and much more.
The second project is focused on an important category of components: fields. Field components
represent the value of a field for a record, they appear in many places in the web client: in form
views, obviously, but also in kanban and list views, and may even be used alone, without a view.
Due to their importance, it makes sense to learn how to create and manipulate such components.
In the context of the web framework, views usually refers to the javascript implementation of a
component that represents one or many records, depending on a description (`ir.ui.view`). Such
components are actually quite complicated and usually requires various sub systems (a renderer,
a model, a controller, a arch parser, ...). In chapter 3, we create a new view from scratch to
a model, a controller, a arch parser, ...). In chapter 2, we create a new view from scratch to
represent a list of images.
Finally, the last project in chapter 4 is about customizing an existing view (a kanban view) by
Finally, the last project in chapter 3 is about customizing an existing view (a kanban view) by
adding a search panel on its left. It is interesting to see how one can take existing code, and
modify it to suit our needs. Also, it is a realistic project, that will feature many common issues
that arises while working on Odoo.
@ -49,7 +44,7 @@ Setup
the branch `{CURRENT_MAJOR_BRANCH}`.
#. Add the cloned repository to your :option:`--addons-path <odoo-bin --addons-path>`.
#. Start a new Odoo database and install the modules for each chapter that you want to work on:
`awesome_clicker` (for chapter 1), `awesome_fields` (for chapter 2), `awesome_gallery` (for chapter 3) or `awesome_kanban` (for chapter 4).
`awesome_clicker` (for chapter 1), `awesome_gallery` (for chapter 2) or `awesome_kanban` (for chapter 3).
Content
=======