Summary
We created a new module from scratch, covering the essential components involved in a module—models, access security, menus, the three basic types of views (form, list, and search), and business logic in model methods. We also learned how to create web pages using web controllers and QWeb templates.
In the process, we got familiar with the module-development process, which involves module upgrades and application-server restarts to make gradual changes effective in Odoo.
Always remember, when adding model fields, an upgrade is needed. When changing Python code, including the manifest file, a restart is needed. When changing XML or CSV files, an upgrade is needed; also, when in doubt, do both: restart the server and upgrade the modules.
We've gone through the essential elements and steps to create a new Odoo app. But in most cases, our modules will be extending existing apps to add features. This is what we will learn about in the next chapter.
Further...