Odoo 18 Form View attributes are used to control overall Form behavior. It allows users to interact with individual records of a model. Here are four types of attributes we are going to discuss in this blog. Create Attribute It controls whether users can create new records in a form view. In the case of […]
In Odoo, a Help Tooltip is a small informative text that appears when a user hovers over (or clicks on, depending on configuration) a field label or element in the user interface. It’s used to provide additional guidance or explanations about the purpose or usage of a particular field or feature, improving the user experience […]
The two field definitions, image_1920 = fields.Image(string=”Student Image”) and image_1920 = fields.Binary(string=”Student Image”), both serve the purpose of storing image data in an Odoo model, but they have some key differences in how they are intended to be used and how Odoo handles them by default. Here’s a breakdown of the distinctions: fields.Image(string=”Student Image”) Intended […]
What is a Form View in Odoo? In Odoo, a form view is one of the primary UI components used to display and interact with a single record of a model. It’s used when users want to create, read, update, or delete (CRUD) detailed information about a specific item—such as a product, customer, sales order, […]
This is the most common and recommended way. In your module’s XML file where you define the menu item, you can use the web_icon attribute. The value of this attribute should point to the icon you want to use * your_module_name: The technical name of your module. * static/description/icon.png: The path to your icon file […]
In Odoo development, a view is a way to define how data is presented to the user in the UI. Views are written in XML and determine the layout and behavior of forms, lists, kanban boards, and other UI components. Types of Views in Odoo Form View (form) Used to display a single record in […]
Odoo 18 General Properties Invisible: Enable this property when it is not necessary for users to view a field on the UI. This helps declutter the UI by only showing the essential fields depending on a specific situation. The Invisible attribute also applies inside Studio. To view hidden fields in Studio, click on a view’s View tab and enable Show […]
In Odoo, fields are used to define the data that a model (table) will store. What are Simple Fields? Simple fields are fields that store basic types of data like text, numbers, dates, booleans, etc. They do not create relationships between models — they just store raw data. 1.Text (char) The Text field is used for short […]
In Odoo, a security file is typically a CSV file or XML that defines access control rules and record rules for different user groups. These files are used to restrict or grant permissions to models (tables) in the database. link: Types of Security Files in Odoo Access Control List (ACL) Files (ir.model.access.csv) Defines CRUD (Create, Read, […]