SlideShare a Scribd company logo

Module Structure in Odoo 16

C
C
Celine GeorgeCybrosys Technologies

The most important thing while developing a module is its structure. When we create a module, it has its own structure, and we should always make sure that we follow the module structure.

Module Structure in Odoo 16

1 of 10
Download to read offline
Module Structure in
Odoo 16
The most important thing while developing a module is its
structure. When we create a module, it has its own
structure, and we should always make sure that we follow
the module structure. A module consists of different
components such as models, views, security, etc.Mainly an
Odoo module is declared by its manifest.
• Each module requires a python file and a manifest file that are __init__.py file and
__manifest__.py file. The basic structure of the module is given below.
• __init__ .py
A module is also a Python package that consists of __init__ .py file that includes import
instructions for the module's numerous Python files. For example, if the module has a single
pythonfile.py file, then its __init__.py file contains:
from . import python file
• __manifest__.py
We can describe the name of the module, author name, version, description, company,
category, etc., in the manifest.
➔ Name - Name of the module.
➔ Description - Brief description of the module.
➔ Version- Here, we can specify the module version.
➔ License - Specify the distribution license
➔ Author - Author name of the module.
➔ Website - Module author’s website URL.
➔ Category - Specify the category name.
➔ Depends - specify the list of modules that must installed before installing the module.
➔ Data - With the installation of the module, these files are installed or updated.
➔ Demo - In active demonstration mode, the data files that are installed or updated.
➢ The module has directories.
➢ models
➢ views
➢ demos
➢ static
➢ security
➢ data
➢ wizards, etc.
Ad

Recommended

Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)sroo galal
 
Object Relation Mapping in Odoo 16
Object Relation Mapping in Odoo 16Object Relation Mapping in Odoo 16
Object Relation Mapping in Odoo 16Celine George
 
QWeb Report in odoo
QWeb Report in odooQWeb Report in odoo
QWeb Report in odooexpertodoo
 
What is Delegation Inheritance in Odoo 15
What is Delegation Inheritance in Odoo 15What is Delegation Inheritance in Odoo 15
What is Delegation Inheritance in Odoo 15Celine George
 
Tutorial: Develop an App with the Odoo Framework
Tutorial: Develop an App with the Odoo FrameworkTutorial: Develop an App with the Odoo Framework
Tutorial: Develop an App with the Odoo FrameworkOdoo
 
The Odoo JS Framework
The Odoo JS FrameworkThe Odoo JS Framework
The Odoo JS FrameworkOdoo
 

More Related Content

What's hot

Odoo External API
Odoo External APIOdoo External API
Odoo External APIOdoo
 
Upselling Invoice in Odoo 15 | Odoo 15 Accounting
Upselling Invoice in Odoo 15 | Odoo 15 AccountingUpselling Invoice in Odoo 15 | Odoo 15 Accounting
Upselling Invoice in Odoo 15 | Odoo 15 AccountingCeline George
 
Basic Views in Odoo 16
Basic Views in Odoo 16Basic Views in Odoo 16
Basic Views in Odoo 16Celine George
 
Model Fields in Odoo 15
 Model Fields in Odoo 15 Model Fields in Odoo 15
Model Fields in Odoo 15Celine George
 
List Activity Widget in Odoo 14
List Activity Widget in Odoo 14 List Activity Widget in Odoo 14
List Activity Widget in Odoo 14 Celine George
 
Actions and menus in odoo 16
Actions and menus in odoo 16Actions and menus in odoo 16
Actions and menus in odoo 16Celine George
 
Odoo ERP Basic Module.pptx
Odoo ERP Basic Module.pptxOdoo ERP Basic Module.pptx
Odoo ERP Basic Module.pptxHayanto Hakasin
 
How to Use Constraint and SQL Constraint in Odoo 15
How to Use Constraint and SQL Constraint in Odoo 15How to Use Constraint and SQL Constraint in Odoo 15
How to Use Constraint and SQL Constraint in Odoo 15Celine George
 
View Inheritance in Odoo 16
View Inheritance in Odoo 16View Inheritance in Odoo 16
View Inheritance in Odoo 16Celine George
 
Configuring Route and Rule in Odoo 15
Configuring Route and Rule in Odoo 15Configuring Route and Rule in Odoo 15
Configuring Route and Rule in Odoo 15Celine George
 
Website Appointment Booking in odoo
Website Appointment Booking in odooWebsite Appointment Booking in odoo
Website Appointment Booking in odooAxis Technolabs
 
How to Configure Operations Types in Odoo 15
How to Configure Operations Types in Odoo 15How to Configure Operations Types in Odoo 15
How to Configure Operations Types in Odoo 15Celine George
 
View Inheritance in Odoo 15
View Inheritance in Odoo 15View Inheritance in Odoo 15
View Inheritance in Odoo 15Celine George
 
Empower your App by Inheriting from Odoo Mixins
Empower your App by Inheriting from Odoo MixinsEmpower your App by Inheriting from Odoo Mixins
Empower your App by Inheriting from Odoo MixinsOdoo
 
External dependencies ,pre init hook & post init hook in odoo
External dependencies ,pre init hook & post init hook in odooExternal dependencies ,pre init hook & post init hook in odoo
External dependencies ,pre init hook & post init hook in odooCeline George
 
What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and La...
What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and La...What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and La...
What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and La...Celine George
 
scaffold method odoo 16
scaffold method odoo 16scaffold method odoo 16
scaffold method odoo 16Celine George
 

What's hot (20)

Odoo experience 2018 - Odoo Documents
Odoo experience 2018 - Odoo DocumentsOdoo experience 2018 - Odoo Documents
Odoo experience 2018 - Odoo Documents
 
Odoo External API
Odoo External APIOdoo External API
Odoo External API
 
Upselling Invoice in Odoo 15 | Odoo 15 Accounting
Upselling Invoice in Odoo 15 | Odoo 15 AccountingUpselling Invoice in Odoo 15 | Odoo 15 Accounting
Upselling Invoice in Odoo 15 | Odoo 15 Accounting
 
Basic Views in Odoo 16
Basic Views in Odoo 16Basic Views in Odoo 16
Basic Views in Odoo 16
 
Model Fields in Odoo 15
 Model Fields in Odoo 15 Model Fields in Odoo 15
Model Fields in Odoo 15
 
List Activity Widget in Odoo 14
List Activity Widget in Odoo 14 List Activity Widget in Odoo 14
List Activity Widget in Odoo 14
 
Actions and menus in odoo 16
Actions and menus in odoo 16Actions and menus in odoo 16
Actions and menus in odoo 16
 
Odoo ERP Basic Module.pptx
Odoo ERP Basic Module.pptxOdoo ERP Basic Module.pptx
Odoo ERP Basic Module.pptx
 
How to Use Constraint and SQL Constraint in Odoo 15
How to Use Constraint and SQL Constraint in Odoo 15How to Use Constraint and SQL Constraint in Odoo 15
How to Use Constraint and SQL Constraint in Odoo 15
 
View Inheritance in Odoo 16
View Inheritance in Odoo 16View Inheritance in Odoo 16
View Inheritance in Odoo 16
 
Configuring Route and Rule in Odoo 15
Configuring Route and Rule in Odoo 15Configuring Route and Rule in Odoo 15
Configuring Route and Rule in Odoo 15
 
Website Appointment Booking in odoo
Website Appointment Booking in odooWebsite Appointment Booking in odoo
Website Appointment Booking in odoo
 
How to Configure Operations Types in Odoo 15
How to Configure Operations Types in Odoo 15How to Configure Operations Types in Odoo 15
How to Configure Operations Types in Odoo 15
 
View Inheritance in Odoo 15
View Inheritance in Odoo 15View Inheritance in Odoo 15
View Inheritance in Odoo 15
 
Empower your App by Inheriting from Odoo Mixins
Empower your App by Inheriting from Odoo MixinsEmpower your App by Inheriting from Odoo Mixins
Empower your App by Inheriting from Odoo Mixins
 
Odoo access rights
Odoo access rightsOdoo access rights
Odoo access rights
 
External dependencies ,pre init hook & post init hook in odoo
External dependencies ,pre init hook & post init hook in odooExternal dependencies ,pre init hook & post init hook in odoo
External dependencies ,pre init hook & post init hook in odoo
 
What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and La...
What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and La...What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and La...
What are Wizards - Defining and Launching in Odoo 15Wizards - Defining and La...
 
scaffold method odoo 16
scaffold method odoo 16scaffold method odoo 16
scaffold method odoo 16
 
Odoo presentation
Odoo presentationOdoo presentation
Odoo presentation
 

Similar to Module Structure in Odoo 16

Composition of a Module in Odoo 16
Composition of a Module in Odoo 16Composition of a Module in Odoo 16
Composition of a Module in Odoo 16Celine George
 
Odoo 15 Composition of Module
Odoo 15 Composition of ModuleOdoo 15 Composition of Module
Odoo 15 Composition of ModuleCeline George
 
Building a Module in Odoo 16
Building a Module in Odoo 16Building a Module in Odoo 16
Building a Module in Odoo 16Celine George
 
How to Build Custom Module in Odoo 15
How to Build Custom Module in Odoo 15How to Build Custom Module in Odoo 15
How to Build Custom Module in Odoo 15Celine George
 
Tips On Trick Odoo Add-On.pptx
Tips On Trick Odoo Add-On.pptxTips On Trick Odoo Add-On.pptx
Tips On Trick Odoo Add-On.pptxAgusto Sipahutar
 
Tips On Trick Odoo Add-On.pptx
Tips On Trick Odoo Add-On.pptxTips On Trick Odoo Add-On.pptx
Tips On Trick Odoo Add-On.pptxAgusto Sipahutar
 
1 cs xii_python_file_handling text n binary file
1 cs xii_python_file_handling text n binary file1 cs xii_python_file_handling text n binary file
1 cs xii_python_file_handling text n binary fileSanjayKumarMahto1
 
Structuring and packaging your python project
Structuring and packaging your python projectStructuring and packaging your python project
Structuring and packaging your python projectEyal Trabelsi
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in pythonTMARAGATHAM
 
Modules 101
Modules 101Modules 101
Modules 101gjcross
 
Data Files In Odoo 16
Data Files In Odoo 16Data Files In Odoo 16
Data Files In Odoo 16Celine George
 
Django is a high-level Python web framework that enables rapid development of...
Django is a high-level Python web framework that enables rapid development of...Django is a high-level Python web framework that enables rapid development of...
Django is a high-level Python web framework that enables rapid development of...ArijitDutta80
 

Similar to Module Structure in Odoo 16 (20)

Composition of a Module in Odoo 16
Composition of a Module in Odoo 16Composition of a Module in Odoo 16
Composition of a Module in Odoo 16
 
Odoo 15 Composition of Module
Odoo 15 Composition of ModuleOdoo 15 Composition of Module
Odoo 15 Composition of Module
 
Building a Module in Odoo 16
Building a Module in Odoo 16Building a Module in Odoo 16
Building a Module in Odoo 16
 
Sahil_18118_IOT-ppt.pptx
Sahil_18118_IOT-ppt.pptxSahil_18118_IOT-ppt.pptx
Sahil_18118_IOT-ppt.pptx
 
Django
DjangoDjango
Django
 
How to Build Custom Module in Odoo 15
How to Build Custom Module in Odoo 15How to Build Custom Module in Odoo 15
How to Build Custom Module in Odoo 15
 
Python Tutorial Part 2
Python Tutorial Part 2Python Tutorial Part 2
Python Tutorial Part 2
 
Tips On Trick Odoo Add-On.pptx
Tips On Trick Odoo Add-On.pptxTips On Trick Odoo Add-On.pptx
Tips On Trick Odoo Add-On.pptx
 
Python libraries
Python librariesPython libraries
Python libraries
 
Tips On Trick Odoo Add-On.pptx
Tips On Trick Odoo Add-On.pptxTips On Trick Odoo Add-On.pptx
Tips On Trick Odoo Add-On.pptx
 
Python Session - 5
Python Session - 5Python Session - 5
Python Session - 5
 
1 cs xii_python_file_handling text n binary file
1 cs xii_python_file_handling text n binary file1 cs xii_python_file_handling text n binary file
1 cs xii_python_file_handling text n binary file
 
Structuring and packaging your python project
Structuring and packaging your python projectStructuring and packaging your python project
Structuring and packaging your python project
 
Python modules
Python modulesPython modules
Python modules
 
AtoM feature development
AtoM feature developmentAtoM feature development
AtoM feature development
 
Modules and packages in python
Modules and packages in pythonModules and packages in python
Modules and packages in python
 
Python modules
Python   modulesPython   modules
Python modules
 
Modules 101
Modules 101Modules 101
Modules 101
 
Data Files In Odoo 16
Data Files In Odoo 16Data Files In Odoo 16
Data Files In Odoo 16
 
Django is a high-level Python web framework that enables rapid development of...
Django is a high-level Python web framework that enables rapid development of...Django is a high-level Python web framework that enables rapid development of...
Django is a high-level Python web framework that enables rapid development of...
 

More from Celine George

New Features in the Odoo 17 Sales Module
New Features in  the Odoo 17 Sales ModuleNew Features in  the Odoo 17 Sales Module
New Features in the Odoo 17 Sales ModuleCeline George
 
Subscription Pause Cancel in Odoo 17
Subscription Pause Cancel in Odoo 17Subscription Pause Cancel in Odoo 17
Subscription Pause Cancel in Odoo 17Celine George
 
How To Create Calendar View In Odoo 16
How To Create Calendar View In Odoo 16How To Create Calendar View In Odoo 16
How To Create Calendar View In Odoo 16Celine George
 
Model Attribute - _description
Model Attribute - _descriptionModel Attribute - _description
Model Attribute - _descriptionCeline George
 
Model Attribute - _transient
Model Attribute - _transientModel Attribute - _transient
Model Attribute - _transientCeline George
 
Model Attribute - _order
Model Attribute - _orderModel Attribute - _order
Model Attribute - _orderCeline George
 
Down Payments In Odoo 16 Sales
Down Payments In Odoo 16 SalesDown Payments In Odoo 16 Sales
Down Payments In Odoo 16 SalesCeline George
 
How to empty an One2many field in Odoo
How to empty an One2many field in OdooHow to empty an One2many field in Odoo
How to empty an One2many field in OdooCeline George
 
Configure Project in Odoo 16
Configure Project in Odoo 16Configure Project in Odoo 16
Configure Project in Odoo 16Celine George
 
Model Constraints In Odoo 16
Model Constraints In Odoo 16Model Constraints In Odoo 16
Model Constraints In Odoo 16Celine George
 
Quick Tips in Odoo 16
Quick Tips in Odoo 16Quick Tips in Odoo 16
Quick Tips in Odoo 16Celine George
 
Model Fields in Odoo 16
Model Fields in Odoo 16Model Fields in Odoo 16
Model Fields in Odoo 16Celine George
 
How to Add a Store Attribute to a Field in Odoo 16
How to Add a Store Attribute to a Field in Odoo 16How to Add a Store Attribute to a Field in Odoo 16
How to Add a Store Attribute to a Field in Odoo 16Celine George
 
How to Make Sequence Number in Odoo 16
How to Make Sequence Number in Odoo 16How to Make Sequence Number in Odoo 16
How to Make Sequence Number in Odoo 16Celine George
 
Odoo 16 Advanced Features
Odoo 16 Advanced FeaturesOdoo 16 Advanced Features
Odoo 16 Advanced FeaturesCeline George
 
Odoo 15 Payoll Webinar Slide
Odoo 15 Payoll Webinar SlideOdoo 15 Payoll Webinar Slide
Odoo 15 Payoll Webinar SlideCeline George
 
Name Search() Function in Odoo 16
Name Search() Function in Odoo 16Name Search() Function in Odoo 16
Name Search() Function in Odoo 16Celine George
 
Model Constraints - SQL Constraints Odoo 16
Model Constraints - SQL Constraints Odoo 16Model Constraints - SQL Constraints Odoo 16
Model Constraints - SQL Constraints Odoo 16Celine George
 
Odoo Building a website _ For the browser
Odoo Building a website _ For the browserOdoo Building a website _ For the browser
Odoo Building a website _ For the browserCeline George
 
How to show warning _ error messages in Odoo 16
How to show warning _ error messages in Odoo 16 How to show warning _ error messages in Odoo 16
How to show warning _ error messages in Odoo 16 Celine George
 

More from Celine George (20)

New Features in the Odoo 17 Sales Module
New Features in  the Odoo 17 Sales ModuleNew Features in  the Odoo 17 Sales Module
New Features in the Odoo 17 Sales Module
 
Subscription Pause Cancel in Odoo 17
Subscription Pause Cancel in Odoo 17Subscription Pause Cancel in Odoo 17
Subscription Pause Cancel in Odoo 17
 
How To Create Calendar View In Odoo 16
How To Create Calendar View In Odoo 16How To Create Calendar View In Odoo 16
How To Create Calendar View In Odoo 16
 
Model Attribute - _description
Model Attribute - _descriptionModel Attribute - _description
Model Attribute - _description
 
Model Attribute - _transient
Model Attribute - _transientModel Attribute - _transient
Model Attribute - _transient
 
Model Attribute - _order
Model Attribute - _orderModel Attribute - _order
Model Attribute - _order
 
Down Payments In Odoo 16 Sales
Down Payments In Odoo 16 SalesDown Payments In Odoo 16 Sales
Down Payments In Odoo 16 Sales
 
How to empty an One2many field in Odoo
How to empty an One2many field in OdooHow to empty an One2many field in Odoo
How to empty an One2many field in Odoo
 
Configure Project in Odoo 16
Configure Project in Odoo 16Configure Project in Odoo 16
Configure Project in Odoo 16
 
Model Constraints In Odoo 16
Model Constraints In Odoo 16Model Constraints In Odoo 16
Model Constraints In Odoo 16
 
Quick Tips in Odoo 16
Quick Tips in Odoo 16Quick Tips in Odoo 16
Quick Tips in Odoo 16
 
Model Fields in Odoo 16
Model Fields in Odoo 16Model Fields in Odoo 16
Model Fields in Odoo 16
 
How to Add a Store Attribute to a Field in Odoo 16
How to Add a Store Attribute to a Field in Odoo 16How to Add a Store Attribute to a Field in Odoo 16
How to Add a Store Attribute to a Field in Odoo 16
 
How to Make Sequence Number in Odoo 16
How to Make Sequence Number in Odoo 16How to Make Sequence Number in Odoo 16
How to Make Sequence Number in Odoo 16
 
Odoo 16 Advanced Features
Odoo 16 Advanced FeaturesOdoo 16 Advanced Features
Odoo 16 Advanced Features
 
Odoo 15 Payoll Webinar Slide
Odoo 15 Payoll Webinar SlideOdoo 15 Payoll Webinar Slide
Odoo 15 Payoll Webinar Slide
 
Name Search() Function in Odoo 16
Name Search() Function in Odoo 16Name Search() Function in Odoo 16
Name Search() Function in Odoo 16
 
Model Constraints - SQL Constraints Odoo 16
Model Constraints - SQL Constraints Odoo 16Model Constraints - SQL Constraints Odoo 16
Model Constraints - SQL Constraints Odoo 16
 
Odoo Building a website _ For the browser
Odoo Building a website _ For the browserOdoo Building a website _ For the browser
Odoo Building a website _ For the browser
 
How to show warning _ error messages in Odoo 16
How to show warning _ error messages in Odoo 16 How to show warning _ error messages in Odoo 16
How to show warning _ error messages in Odoo 16
 

Recently uploaded

ACTIVIDAD DE CLASE No 1 - SOPA DE LETRAS
ACTIVIDAD DE CLASE No 1 - SOPA DE LETRASACTIVIDAD DE CLASE No 1 - SOPA DE LETRAS
ACTIVIDAD DE CLASE No 1 - SOPA DE LETRASMaria Lucia Céspedes
 
Evaluation and management of patients with Dyspepsia.pptx
Evaluation and management of patients with Dyspepsia.pptxEvaluation and management of patients with Dyspepsia.pptx
Evaluation and management of patients with Dyspepsia.pptxgarvitnanecha
 
2023 MAP Data Analysis - St. Louis Region
2023 MAP Data Analysis - St. Louis Region2023 MAP Data Analysis - St. Louis Region
2023 MAP Data Analysis - St. Louis RegionThe Opportunity Trust
 
Chromatography-Gas chromatography-Principle
Chromatography-Gas chromatography-PrincipleChromatography-Gas chromatography-Principle
Chromatography-Gas chromatography-Principleblessipriyanka
 
Introduction of General Pharmacology PPT.pptx
Introduction of General Pharmacology PPT.pptxIntroduction of General Pharmacology PPT.pptx
Introduction of General Pharmacology PPT.pptxRenuka N Sunagad
 
Practical Research 1: Nature of Inquiry and Research.pptx
Practical Research 1: Nature of Inquiry and Research.pptxPractical Research 1: Nature of Inquiry and Research.pptx
Practical Research 1: Nature of Inquiry and Research.pptxKatherine Villaluna
 
BTKi in Treatment Of Chronic Lymphocytic Leukemia
BTKi in Treatment Of Chronic Lymphocytic LeukemiaBTKi in Treatment Of Chronic Lymphocytic Leukemia
BTKi in Treatment Of Chronic Lymphocytic LeukemiaFaheema Hasan
 
John See - Narrative Story
John See - Narrative StoryJohn See - Narrative Story
John See - Narrative StoryAlan See
 
mean stack mean stack mean stack mean stack
mean stack mean stack  mean stack  mean stackmean stack mean stack  mean stack  mean stack
mean stack mean stack mean stack mean stackNuttavutThongjor1
 
Kochi Mulesoft Meetup # 17 - RTF on OpenShift Deployment Model
Kochi Mulesoft Meetup # 17 - RTF on OpenShift Deployment ModelKochi Mulesoft Meetup # 17 - RTF on OpenShift Deployment Model
Kochi Mulesoft Meetup # 17 - RTF on OpenShift Deployment Modelsandeepmenon62
 
skeletal system details with joints and its types
skeletal system details with joints and its typesskeletal system details with joints and its types
skeletal system details with joints and its typesMinaxi patil. CATALLYST
 
HOW TO DEVELOP A RESEARCH PROPOSAL (FOR RESEARCH SCHOLARS)
HOW TO DEVELOP A RESEARCH PROPOSAL (FOR RESEARCH SCHOLARS)HOW TO DEVELOP A RESEARCH PROPOSAL (FOR RESEARCH SCHOLARS)
HOW TO DEVELOP A RESEARCH PROPOSAL (FOR RESEARCH SCHOLARS)Rabiya Husain
 
Cardiovascular Pathophysiology- Hypertension
Cardiovascular Pathophysiology- HypertensionCardiovascular Pathophysiology- Hypertension
Cardiovascular Pathophysiology- HypertensionVISHALJADHAV100
 
Bayesian Analysis Fundamentals with Examples
Bayesian Analysis Fundamentals with ExamplesBayesian Analysis Fundamentals with Examples
Bayesian Analysis Fundamentals with ExamplesTushar Tank
 
Narrative Exploration of New Categories at Mondelēz
Narrative Exploration of New Categories at MondelēzNarrative Exploration of New Categories at Mondelēz
Narrative Exploration of New Categories at MondelēzRay Poynter
 
CapTechTalks Webinar Feb 2024 Darrell Burrell.pptx
CapTechTalks Webinar Feb 2024 Darrell Burrell.pptxCapTechTalks Webinar Feb 2024 Darrell Burrell.pptx
CapTechTalks Webinar Feb 2024 Darrell Burrell.pptxCapitolTechU
 
2.15.24 Making Whiteness -- Baldwin.pptx
2.15.24 Making Whiteness -- Baldwin.pptx2.15.24 Making Whiteness -- Baldwin.pptx
2.15.24 Making Whiteness -- Baldwin.pptxMaryPotorti1
 
LIGHT,MIRROR,REFLECTION& REFRACTION. (Optometric optics)
LIGHT,MIRROR,REFLECTION& REFRACTION. (Optometric optics)LIGHT,MIRROR,REFLECTION& REFRACTION. (Optometric optics)
LIGHT,MIRROR,REFLECTION& REFRACTION. (Optometric optics)satyanshp7890
 

Recently uploaded (20)

ACTIVIDAD DE CLASE No 1 - SOPA DE LETRAS
ACTIVIDAD DE CLASE No 1 - SOPA DE LETRASACTIVIDAD DE CLASE No 1 - SOPA DE LETRAS
ACTIVIDAD DE CLASE No 1 - SOPA DE LETRAS
 
Evaluation and management of patients with Dyspepsia.pptx
Evaluation and management of patients with Dyspepsia.pptxEvaluation and management of patients with Dyspepsia.pptx
Evaluation and management of patients with Dyspepsia.pptx
 
2023 MAP Data Analysis - St. Louis Region
2023 MAP Data Analysis - St. Louis Region2023 MAP Data Analysis - St. Louis Region
2023 MAP Data Analysis - St. Louis Region
 
Chromatography-Gas chromatography-Principle
Chromatography-Gas chromatography-PrincipleChromatography-Gas chromatography-Principle
Chromatography-Gas chromatography-Principle
 
Introduction of General Pharmacology PPT.pptx
Introduction of General Pharmacology PPT.pptxIntroduction of General Pharmacology PPT.pptx
Introduction of General Pharmacology PPT.pptx
 
Practical Research 1: Nature of Inquiry and Research.pptx
Practical Research 1: Nature of Inquiry and Research.pptxPractical Research 1: Nature of Inquiry and Research.pptx
Practical Research 1: Nature of Inquiry and Research.pptx
 
BTKi in Treatment Of Chronic Lymphocytic Leukemia
BTKi in Treatment Of Chronic Lymphocytic LeukemiaBTKi in Treatment Of Chronic Lymphocytic Leukemia
BTKi in Treatment Of Chronic Lymphocytic Leukemia
 
John See - Narrative Story
John See - Narrative StoryJohn See - Narrative Story
John See - Narrative Story
 
mean stack mean stack mean stack mean stack
mean stack mean stack  mean stack  mean stackmean stack mean stack  mean stack  mean stack
mean stack mean stack mean stack mean stack
 
Kochi Mulesoft Meetup # 17 - RTF on OpenShift Deployment Model
Kochi Mulesoft Meetup # 17 - RTF on OpenShift Deployment ModelKochi Mulesoft Meetup # 17 - RTF on OpenShift Deployment Model
Kochi Mulesoft Meetup # 17 - RTF on OpenShift Deployment Model
 
skeletal system details with joints and its types
skeletal system details with joints and its typesskeletal system details with joints and its types
skeletal system details with joints and its types
 
HOW TO DEVELOP A RESEARCH PROPOSAL (FOR RESEARCH SCHOLARS)
HOW TO DEVELOP A RESEARCH PROPOSAL (FOR RESEARCH SCHOLARS)HOW TO DEVELOP A RESEARCH PROPOSAL (FOR RESEARCH SCHOLARS)
HOW TO DEVELOP A RESEARCH PROPOSAL (FOR RESEARCH SCHOLARS)
 
Cardiovascular Pathophysiology- Hypertension
Cardiovascular Pathophysiology- HypertensionCardiovascular Pathophysiology- Hypertension
Cardiovascular Pathophysiology- Hypertension
 
Time-Honored Wisdom: African Teachings for VUCA Leaders
Time-Honored Wisdom: African Teachings for VUCA LeadersTime-Honored Wisdom: African Teachings for VUCA Leaders
Time-Honored Wisdom: African Teachings for VUCA Leaders
 
Bayesian Analysis Fundamentals with Examples
Bayesian Analysis Fundamentals with ExamplesBayesian Analysis Fundamentals with Examples
Bayesian Analysis Fundamentals with Examples
 
Narrative Exploration of New Categories at Mondelēz
Narrative Exploration of New Categories at MondelēzNarrative Exploration of New Categories at Mondelēz
Narrative Exploration of New Categories at Mondelēz
 
Caldecott Medal Book Winners and Media Used
Caldecott Medal Book Winners and Media UsedCaldecott Medal Book Winners and Media Used
Caldecott Medal Book Winners and Media Used
 
CapTechTalks Webinar Feb 2024 Darrell Burrell.pptx
CapTechTalks Webinar Feb 2024 Darrell Burrell.pptxCapTechTalks Webinar Feb 2024 Darrell Burrell.pptx
CapTechTalks Webinar Feb 2024 Darrell Burrell.pptx
 
2.15.24 Making Whiteness -- Baldwin.pptx
2.15.24 Making Whiteness -- Baldwin.pptx2.15.24 Making Whiteness -- Baldwin.pptx
2.15.24 Making Whiteness -- Baldwin.pptx
 
LIGHT,MIRROR,REFLECTION& REFRACTION. (Optometric optics)
LIGHT,MIRROR,REFLECTION& REFRACTION. (Optometric optics)LIGHT,MIRROR,REFLECTION& REFRACTION. (Optometric optics)
LIGHT,MIRROR,REFLECTION& REFRACTION. (Optometric optics)
 

Module Structure in Odoo 16

  • 2. The most important thing while developing a module is its structure. When we create a module, it has its own structure, and we should always make sure that we follow the module structure. A module consists of different components such as models, views, security, etc.Mainly an Odoo module is declared by its manifest.
  • 3. • Each module requires a python file and a manifest file that are __init__.py file and __manifest__.py file. The basic structure of the module is given below.
  • 4. • __init__ .py A module is also a Python package that consists of __init__ .py file that includes import instructions for the module's numerous Python files. For example, if the module has a single pythonfile.py file, then its __init__.py file contains: from . import python file
  • 5. • __manifest__.py We can describe the name of the module, author name, version, description, company, category, etc., in the manifest. ➔ Name - Name of the module. ➔ Description - Brief description of the module. ➔ Version- Here, we can specify the module version. ➔ License - Specify the distribution license ➔ Author - Author name of the module. ➔ Website - Module author’s website URL. ➔ Category - Specify the category name. ➔ Depends - specify the list of modules that must installed before installing the module. ➔ Data - With the installation of the module, these files are installed or updated. ➔ Demo - In active demonstration mode, the data files that are installed or updated.
  • 6. ➢ The module has directories. ➢ models ➢ views ➢ demos ➢ static ➢ security ➢ data ➢ wizards, etc.
  • 7. • Models The model file consists of __init__.py file, which imports all python files on that model's directory. • Views Views file consists of XML files for the user interface, with the actions and views like forms, lists, etc. The format of creating an XML file is “demo.xml” • Data Data file contains all data files along with the module's initial data. • Demo It consists of data files with demonstration data, which is very useful for testing, training, or module evaluation.
  • 8. • i18n The i18n file contains the translation files, which include .po and .pot files. These files are not required to mention on the manifest file. • Security It consists of XML files that generate access groups and record rules for security and data files that define access control lists, such as the ir.model.access.csv file. • Controllers The Controllers folder consists of code files that provide that functionality for website controllers.
  • 9. • Static All assets are expanded inside the static directory. Files in this directory are public and accessible without a username and password. This directory contains JavaScript, style sheets, images, and other items that aren't listed in the module manifest but need to be referenced in the web template. • Wizard Wizard contains all files related to wizards. Wizards are used to holding intermediate data in Odoo. • Reports Odoo helps us to generate pdf documents such as invoices and sales orders. The report directory consists of all the files related to reports.
  • 10. Check our company website for related blogs and Odoo book. https://www.youtube.com/watch?v=sqkMIpdy7V0