Creating a model in Odoo 18 involves defining a new database structure to represent your business data and creating corresponding views for user interaction. Here’s a step-by-step guide to help you through the process: 1. Set Up Your Module Structure Begin by creating a new module to house your custom model. This approach ensures that […]
In the Odoo framework, “models” are used for structuring and managing data that the Odoo application stores. An Odoo model is a Python class that represents a database table. Odoo primarily uses three types of models: 1.models.Model (Regular Models): 2.models.TransientModel (Transient Models): 3.models.AbstractModel (Abstract Models): 1. Regular model/standard model The primary reason for using regular models is […]
In this video, we will explore how to create and use compute fields and compute functions in Odoo 17. Compute fields are special fields whose values are computed dynamically based on other fields or data in the system. This feature allows you to create fields that automatically update their values when related fields change, ensuring […]