Professional Documents
Culture Documents
Seminar Report
on
Odoo
submitted
in partial fulfillment
for the award of the Degree of
Bachelor of Technology
in
Department of Computer Science & Engineering
CERTIFICATE
This is to certify that Ms. Angelina Freda Smith, a student of B.Tech (Computer
Science & Engineering) VII semester has submitted her Seminar Report entitled
Assistant Professor
i
Department of Computer Science and Engineering, SKIT, Jaipur
Acknowledgement
I would also like to express my thanks to my parents for their support and bless-
ings. A special thank goes to all my friends for their support in completion of this
work.
ii
Department of Computer Science and Engineering, SKIT, Jaipur
LIST OF FIGURES
iii
Department of Computer Science and Engineering, SKIT, Jaipur
LIST OF TABLES
3.3 Prerequisites 5
iv
Department of Computer Science and Engineering, SKIT, Jaipur
INDEX
1 INTRODUCTION 1
1.1 OVERVIEW OF ODOO ............................................................................. 1
1.2 IMPORTANCE OF ODOO IN TECH & BUSINESS ................................ 1
3 INTRODUCTION TO ODOO 5
3.1 SETTING UP DEVELOPMENT ENVIRONMENT ................................. 5
3.1.1 PREREQUISITES .......................................................................... 5
3.1.2 PYTHON INSTALLATION .......................................................... 5
3.1.3 POSTGRESQL INSTALLATION ................................................. 6
3.1.4 WKHTMLTOPDF INSTALLATION ........................................... 6
3.1.5 NODE.JS AND NPM INSTALLATION ....................................... 6
3.1.6 ODOO INSTALLATION............................................................... 6
3.2 INTRODUCTION TO ODOO ENVIRONMENT...................................... 6
3.2.1 ODOO SERVER ............................................................................ 6
3.2.2 ODOO MODULES ........................................................................ 6
3.3 CREATING A SIMPLE ODOO MODULE ............................................... 6
3.3.1 CREATING A NEW ODOO MODULE ........................................... 6
3.3.2 RUNNING THE ODOO SERVER .................................................... 7
v
Department of Computer Science and Engineering, SKIT, Jaipur
4.3.3 FORM VIEW................................................................................ 12
4.4 ACTIONS .................................................................................................. 13
4.5 SECURITY ................................................................................................ 13
5 COMPONENT-BASED ARCHITECTURE 14
5.1 COMPONENT BASED ARCHITECTURE IN ODOO ........................... 14
5.2 CHARACTERISTICS OF ODOO COMPONENTS ................................ 14
5.3 ODOO COMPONENTS BASICS ............................................................ 15
5.4 PRINCIPLES OF COMPONENT-BASED DESIGN IN ODOO............. 15
7 STYLING IN ODOO 20
7.1 STYLING IN ODOO ................................................................................ 20
7.1.1 ODOO WEB MODULE ............................................................... 20
7.2 INLINE STYLES IN ODOO .................................................................... 20
7.3 ODOO STYLESHEETS............................................................................ 20
7.4 ODOO STYLING APPROACHES .......................................................... 21
9 CONCLUSION 24
9.1 TAKEAWAYS .......................................................................................... 24
9.2 FUTURE SCOPE ...................................................................................... 24
REFERENCES 26
vi
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 1
INTRODUCTION
1
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 2
2.1 BACKGROUND
2
Department of Computer Science and Engineering, SKIT, Jaipur
2.2.1 ADVANTAGES OF ODOO
Odoo provides numerous advantages that have fueled its popularity in the
enterprise management community. Let's delve into these advantages:
3
Department of Computer Science and Engineering, SKIT, Jaipur
2.3 Comparison with other Enterprise Management Solutions
To contextualize Odoo's standing in the enterprise management domain, a
comparison with two prominent alternatives—SAP and Microsoft Dynamics—is
presented. The table below offers a comparative analysis based on various criteria:
4
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 3
INTRODUCTION TO ODOO
3.1.1 PREREQUISITES
Before proceeding with Odoo installation, ensure that the following prerequisites are
met:
Prerequisite Version
Python 3.6 or later
PostgreSQL 9.5 or later
Wkhtmltopdf 0.12.5 or later
Node.js 10 or later
NPM (Node Package Manager) Latest
5
Department of Computer Science and Engineering, SKIT, Jaipur
3.1.3 POSTGRESQL INSTALLATION
• Download and install PostgreSQL from the official website.
• During installation, set a password for the default user (postgres).
3.1.4 WKHTMLTOPDF INSTALLATION
• Download and install Wkhtmltopdf from the official website.
3.1.5 NODE.JS AND NPM INSTALLATION
• Download and install Node.js from the official website.
• Verify the installation using the terminal or command prompt:
Odoo Server is the core of the Odoo application. It manages data models, business
logic, and access control.
6
Department of Computer Science and Engineering, SKIT, Jaipur
3.3.1 CREATING A NEW ODOO MODULE
Use the following commands to create a new Odoo module and navigate into the project
directory:
Start the Odoo server to see your module in action. Open your browser and access
the Odoo instance to view and interact with your newly created module.
This sets the groundwork for Odoo development, allowing customization and
extension of the platform to meet specific business needs.
7
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 4
4.1 MODULES
In Odoo, a Module is a fundamental building block, encapsulating specific
functionalities or features within the system. Every application or business process
in Odoo is structured as a collection of interconnected modules. Modules enable
modular development, allowing developers to work on discrete components
independently and then integrate them into a cohesive solution.
8
Department of Computer Science and Engineering, SKIT, Jaipur
4.1.2 FUNCTIONAL MODULE
A functional module focuses on user-facing features and interactions. It includes
components such as user interfaces, reports, and dashboards. Functional modules
interact with the backend to provide a complete business solution.
4.2 MODELS
Models in Odoo represent data structures, defining how data is stored, retrieved,
and processed within the system. They encapsulate business entities such as
customers, products, and orders. Models include fields, methods, and other
attributes that shape the behavior of data.
4.3 VIEWS
Views in Odoo define the user interface components, specifying how data is
presented and interacted with. Views are essential for creating forms, lists, and other
UI elements, providing a seamless experience for users.
9
Department of Computer Science and Engineering, SKIT, Jaipur
4.3.1 TREE VIEW
The tree view in Odoo presents data in a tabular format, resembling a spreadsheet.
It is particularly useful for displaying lists of records and their corresponding
fields.
Key Features:
Use Cases:
10
Department of Computer Science and Engineering, SKIT, Jaipur
4.3.2 KANBAN VIEW
Key Features:
Use Cases:
• Managing tasks in a project with stages like "To Do," "In Progress," and
"Done."
11
Department of Computer Science and Engineering, SKIT, Jaipur
4.3.2 FORM VIEW
The form view is used for displaying detailed information about a single
record. It provides a structured layout with various fields, buttons, and
actions for comprehensive record management.
Key Features:
Use Cases:
12
Department of Computer Science and Engineering, SKIT, Jaipur
4.4 ACTIONS
Actions in Odoo define user interactions and workflows within the system. They
specify what should happen when a user performs a particular action, such as
creating a record, updating data, or triggering a specific process.
Figure 4.5: Access user-defined actions from Settings -> Technical -> Actions
4.5 SECURITY
Security in Odoo ensures controlled access to data and functionalities. It involves
defining user roles, access rights, and permissions to safeguard sensitive
information and restrict unauthorized actions.
13
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 5
COMPONENT-BASED ARCHITECTURE
14
Department of Computer Science and Engineering, SKIT, Jaipur
• Extensible: A component can be extended from existing components to
provide new behavior, promoting adaptability.
15
Department of Computer Science and Engineering, SKIT, Jaipur
specifying and governing their interactions, enhancing modularity.
16
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 6
17
Department of Computer Science and Engineering, SKIT, Jaipur
6.2 MANAGING SIDE EFFECTS IN ODOO
In the context of Odoo, side effects often refer to actions that go beyond the
standard rendering of components. Side effects in Odoo can include:
Odoo takes care of cleaning up side effects automatically through its framework.
When a form component or view is closed or no longer needed, Odoo handles the
cleanup of resources, preventing memory leaks or unexpected behavior.
19
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 7
Odoo's web module is a key component for handling styles within the Odoo
framework. It allows developers to define styles for various components directly
within JavaScript files, promoting encapsulation and modularity. This aligns with
Odoo's component-based architecture, enhancing the reusability and readability of
styles associated with specific components.
20
Department of Computer Science and Engineering, SKIT, Jaipur
managing the visual presentation of business applications.
21
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 8
Odoo applications are typically hosted on servers, and the server configuration is
a critical aspect of deployment. Set up an Odoo server with the necessary
dependencies and configurations, ensuring compatibility with the developed add-
ons.
8.2.1 ODOO.SH
For custom hosting, deploy Odoo on cloud platforms like AWS, Google Cloud, or
Azure. Configure server instances, set up databases, and deploy the Odoo
application following the specific procedures of the chosen cloud provider.
In case of deployment issues, consult the logs provided by Odoo and the server
environment. Common issues may include database connection problems,
misconfigurations, or dependency errors.
By following these steps, you can successfully deploy your Odoo application,
providing a comprehensive business solution accessible to users. The choice of
hosting platform depends on factors like scalability, security, and specific business
requirements.
23
Department of Computer Science and Engineering, SKIT, Jaipur
Chapter 9
CONCLUSION
10.1 TAKEAWAYS
In conclusion, this comprehensive industrial training on Odoo has provided
participants with a robust foundation in the ERP framework's fundamental concepts
and practical implementation. From grasping the modular and component-based
architecture to exploring data modeling, business logic implementation, and the
Odoo development environment, participants have acquired valuable skills. The
hands-on experience in creating custom modules, integrating workflows, and
configuring the user interface prepares them for real-world Odoo implementation
projects.
As Odoo is a versatile and customizable ERP solution, participants are now well-
equipped to address diverse business requirements, automate processes, and
optimize workflows. The training's focus on practical scenarios, including the
development of a custom business application, ensures that participants are ready to
contribute effectively to the implementation and customization of Odoo in real-
world business scenarios.
24
Department of Computer Science and Engineering, SKIT, Jaipur
customization for creating robust online platforms.
• Stay Updated with Odoo Releases: Odoo regularly releases updates with
new features and improvements. Stay informed about the latest releases,
best practices, and emerging technologies within the Odoo ecosystem.
This comprehensive training prepares participants not only for current Odoo
implementation projects but also positions them to adapt and thrive in the dynamic
landscape of ERP development and customization.
25
Department of Computer Science and Engineering, SKIT, Jaipur
References
26
Department of Computer Science and Engineering, SKIT, Jaipur