How to Define Compute Fields & Compute Functions in Odoo 17 | Odoo 17 Development Tutorials – CBMS Odoo ERP

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 […]

How to Configure Prevent Sale of Zero Priced Product in Odoo 17 Website | Odoo 17 Functional Videos – CBMS Odoo ERP

In Odoo, “Prevent Sale of Zero Priced Products” is a feature specifically designed for the website module (from version 16 onwards). It acts as a safeguard to prevent customers from purchasing products listed with a price of zero. Here’s a breakdown of its functionality: Blocks Zero-Priced Purchases: When enabled, this feature stops customers from adding […]

How to Set Default Value for a Field Using Function in Odoo 17 | Odoo 17 Development Tutorials – CBMS Odoo ERP

In Odoo 17, the ability to set default values for fields dynamically using functions is a powerful feature that enhances flexibility and customization options within the system. Unlike static default values, which remain constant regardless of circumstances, dynamic defaults enable developers to define default values based on specific conditions or calculations.To implement dynamic default values, […]

SQL Constraints in Odoo 17 | What is SQL Constraints in Odoo? | Odoo 17 Development Tutorials – CBMS Odoo ERP

In Odoo 17, SQL constraints are used to enforce data integrity rules at the database level. These constraints ensure that the data stored in the database meets certain criteria or conditions. SQL constraints are defined within the Python models of an Odoo module and are then translated into corresponding SQL constraints when the module is […]

How to Make a Field Storable in Odoo 17 | Odoo 17 Technical Videos | Odoo 17 Development Tutorials – CBMS Odoo ERP

In Odoo 17, to make a field storable, set store=True when defining it. By default, fields are storable unless set to store=False. Storable fields ensure data persistence across sessions and server restarts, crucial for maintaining data integrity and retrieval. However, computed or related fields are not stored by default (store=False) unless explicitly specified as store=True. […]

How to Render Data to the Browser in Odoo 17 | Render Data to the Browser | Odoo 17 Technical Videos – CBMS Odoo ERP

This video covers the case of how we can pass the data to the browser, which can be done with the help of controllers. Controllers serve as intermediaries between the front-end of a web application and its back-end. They interpret requests made by the browser and determine how to respond, often by retrieving data from a […]