Summary

We went through a detailed explanation of models and fields, using them to extend the To-Do app with tags and stages for tasks. We learned how to define relationships between models, including hierarchical parent/child relationships. We also saw simple examples of computed fields and constraints when using Python code.

Several inheritance strategies were discussed, and we used them to add messaging features to our app.

In the next chapter, we will work on the user interface for these backend model features, making them available in the views used to interact with the application.

Get Odoo 11 Development Essentials - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.