Step 6 – Implementing the backend view layer
The view layer describes the UI. Views are defined using XML, which is used by the web client framework to dynamically generate data-aware HTML views.
Menu items can execute window actions to render views. For example, the Users menu item processes a window action, also called Users, that in turn renders a view composition, with a list and a form.
Several view types are available. The three most commonly used views are the List (sometimes called tree for historical reasons), the Form, and the Search options available in the top-right search box.
Throughout the next sections, we will make gradual improvements and will need frequent module upgrades to make them available, or we can use the --dev=all
server option, which spares us from module upgrades while developing. Using it, the view definitions are read directly from the XML files, and the changes made are immediately available to Odoo without the need for a module upgrade...