In this chapter, we will cover the following recipe:
- Adding a menu item and window actions
- Having an action open a specific view
- Adding content and widgets to a form view
- Adding buttons to forms
- Passing parameters to forms and actions – Context
- Defining filters on record lists – Domain
- Defining list views
- Defining search views
- Displaying attachments on the side of the form view
- Changing existing views – view inheritance
- Defining document-style forms
- Dynamic form elements using attrs
- Defining embedded views
- Defining kanban views
- Showing kanban cards in columns according to their state
- Defining calendar and gantt views
- Defining graph and pivot views
- Defining the cohort view
- Defining the dashboard view
Throughout this chapter, we will assume that you have a database with the base add-on installed and an empty Odoo add-on module where you can add...