EP-7 How to Create a Model in Odoo 18 | How to Define a Model in Odoo 18 | Odoo 18 Technical Videos

Subscribers:
27,900
Published on ● Video Link: https://www.youtube.com/watch?v=FGwBkRTins4



Duration: 0:00
102 views
4


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 your customizations remain modular and maintainable.

Create the Module Directory: Navigate to your Odoo addons directory and create a new folder for your module, e.g., college_erp.

Initialize the module: Inside this folder, create the following files and directories:

college_erp/
├── __init__.py
├── __manifest__.py
└── models/
├── __init__.py
└── college_student.py
2. Define Your Model

In the college_student.py file, define your model by creating a Python class that inherits from models. Model:

from odoo import models, fields

class collegestudent(models.Model):
_name = college.student# Model identifier
_description = 'College Student'

#Odoo18 #OdooDevelopment #OdooTutorial #CreateModel #DefineModel #OdooTechnical #ERP #OpenSourceERP #OdooNewFeatures #OdooReleaseDate #Programming #Python #Odoo18 #Odoo18DevelopmentTutorials #Odoo18Tutorial #Odoo18NewFeatures #OdooTechnical #OdooPython #Odoo18ReleaseDate #OdooModel #OdooERP #Odoo18Development #Odoo18TechnicalTutorials #OdooTechnical

Connect With Us:
—————————————
➡ ️ Websitehttps://www.cybrosys.com/m/
➡ ️ Email: info@cybrosys.com
➡ ️ Twihttps://twitter.com/cybrosysosys  
➡ ️ Lihttps://www.linkedin.com/company/cybrosys/brosys  
➡ ️ https://www.facebook.com/cybrosystechnologiesnologies  
➡ ️ https://www.instagram.com/cybrosystech/brosystech  
https://pinterest.com/cybrosys/  / cybrosys  




Other Videos By Cybrosys Technologies


2025-04-15How to Create Service Records in Odoo 18 Fleet | Odoo 18 Fleet Tutorials | Odoo 18 Tutorials
2025-04-15EP-11 What are Scheduled Actions in Odoo 18 | Actions in Odoo 18 | Odoo 18 Development Tutorials
2025-04-14How to Enhance Sales Using Order Line & Optional Product in Odoo 18 | Odoo 18 Sales Tutorials
2025-04-13Open Links in a New Tab in Odoo 18.1 | Odoo 18.1 Tutorials | Odoo 18.1 New Features | Odoo 18.1
2025-04-12How to Manage Landed Cost in Odoo 18 Inventory | Odoo 18 Inventory Tutorials | Odoo 18 Tutorials
2025-04-11EP-10 What are Actions in Odoo 18 | What are the Different Types of Actions in Odoo | Odoo 18 Videos
2025-04-10Overview of The Other Info Tab in Odoo 18 Sales | How to Manage Key Details for Your Quotations
2025-04-09Most Googled Questions About Cybrosys Technologies| Most Searched Questions About Cybrosys in Google
2025-04-09EP-8 What are Menus in Odoo 18 | What are the Different Types of Menus in Odoo | Odoo 18 Tutorials
2025-04-08Invoice Format Editor in Odoo 18 | How to Configure & Customize Invoice Template in Odoo 18
2025-04-08EP-7 How to Create a Model in Odoo 18 | How to Define a Model in Odoo 18 | Odoo 18 Technical Videos
2025-04-07How to Send WhatsApp Message in Odoo 18 | Send WhatsApp Message Odoo 18 App | Odoo 18 Tutorials
2025-04-07EP-6 What are Models in Odoo 18 | What are the Different Types of Models in Odoo 18 | Odoo 18 Videos
2025-04-05CSV Files in Odoo 18.1 Spreadsheet | Odoo 18.1 Tutorials | Odoo 18.1 Functional Tutorials | Odoo 18
2025-04-04Copy & Paste Field in Odoo 18.1 Sign | Odoo 18.1 Sign Tutorials | New Features in Odoo 18.1
2025-04-04EP-5 How to Add an Icon Image to a Module in Odoo 18 | Odoo 18 Development Tutorials | Odoo 18 Video
2025-04-03Command Palatte in Odoo 18.1 Spreadsheet | How to Manage Command Palatte in Odoo 18.1 | Odoo 18.1
2025-04-03EP-4 How to Create Module in Odoo 18 | Manifest File | Odoo 18 Development Tutorials |Odoo 18 Videos
2025-04-02EP-3 What is a Manifest File in Odoo 18 | How to Create a Manifest File in Odoo 18 |Odoo 18 Tutorial
2025-04-01How to Create SMS Marketing Campaigns in Odoo 18 |What are the Features & Functions of SMS Marketing
2025-04-01Custom Addons Path in Odoo 18 | EP-2 How to Configure Custom Addons Path in Odoo 18 | Odoo 18 Videos