2025-02-27 18:56:07 +07:00
|
|
|
---
|
|
|
|
hide-page-toc: true
|
|
|
|
show-content: true
|
|
|
|
---
|
|
|
|
|
|
|
|
# Tutorials
|
|
|
|
|
|
|
|
```{toctree}
|
|
|
|
tutorials/setup_guide
|
|
|
|
tutorials/server_framework_101
|
|
|
|
tutorials/discover_js_framework
|
|
|
|
tutorials/master_odoo_web_framework
|
|
|
|
tutorials/define_module_data
|
|
|
|
tutorials/restrict_data_access
|
|
|
|
tutorials/unit_tests
|
|
|
|
tutorials/importable_modules
|
|
|
|
tutorials/mixins
|
|
|
|
tutorials/pdf_reports
|
|
|
|
```
|
|
|
|
|
|
|
|
:::{tip}
|
|
|
|
If you are new to Odoo development, we recommend starting with the {doc}`setup guide
|
|
|
|
<tutorials/setup_guide>`.
|
|
|
|
:::
|
|
|
|
|
|
|
|
## Learn the server and web frameworks
|
|
|
|
|
|
|
|
```{eval-rst}
|
2023-01-18 23:37:41 +07:00
|
|
|
.. cards::
|
|
|
|
|
2024-04-09 16:54:08 +07:00
|
|
|
.. card:: Server framework 101
|
|
|
|
:target: tutorials/server_framework_101
|
2023-01-18 23:37:41 +07:00
|
|
|
:tag: Beginner
|
|
|
|
:large:
|
|
|
|
|
2024-04-09 16:54:08 +07:00
|
|
|
This introductory tutorial is designed for complete beginners seeking to get started in Odoo
|
|
|
|
development. It covers the essential aspects and key concepts of the server framework. Learn
|
|
|
|
to create a simple module from scratch with step-by-step instructions and practical insights.
|
2023-01-18 23:37:41 +07:00
|
|
|
|
2024-04-09 16:54:08 +07:00
|
|
|
.. card:: Discover the web framework
|
2023-01-18 23:37:41 +07:00
|
|
|
:target: tutorials/discover_js_framework
|
|
|
|
:tag: Beginner
|
|
|
|
|
2024-04-09 16:54:08 +07:00
|
|
|
This tutorial will teach the basics of the web framework and how to work with Owl components
|
|
|
|
by customizing the web client.
|
2023-04-24 17:37:04 +07:00
|
|
|
|
2024-04-09 16:54:08 +07:00
|
|
|
.. card:: Master the web framework
|
2023-04-24 17:37:04 +07:00
|
|
|
:target: tutorials/master_odoo_web_framework
|
|
|
|
:tag: Advanced
|
|
|
|
|
2024-04-09 16:54:08 +07:00
|
|
|
Become an expert in the web framework. A large variety of features are covered such as fields,
|
|
|
|
views, and even the kitten mode.
|
2025-02-27 18:56:07 +07:00
|
|
|
```
|
2024-04-09 16:54:08 +07:00
|
|
|
|
2025-02-27 18:56:07 +07:00
|
|
|
## Expand your knowledge on the server framework
|
2024-04-09 16:54:08 +07:00
|
|
|
|
2025-02-27 18:56:07 +07:00
|
|
|
```{eval-rst}
|
2024-04-09 16:54:08 +07:00
|
|
|
.. cards::
|
2023-01-18 23:37:41 +07:00
|
|
|
|
|
|
|
.. card:: Define module data
|
|
|
|
:target: tutorials/define_module_data
|
|
|
|
:tag: Beginner
|
|
|
|
|
|
|
|
Define master and demo data for an Odoo module, leveraging the strengths of the CSV and XML
|
|
|
|
file formats to accommodate specific data requirements.
|
|
|
|
|
|
|
|
.. card:: Restrict access to data
|
|
|
|
:target: tutorials/restrict_data_access
|
|
|
|
:tag: Beginner
|
|
|
|
|
|
|
|
Implement security measures to restrict access to sensitive data with the help of groups,
|
|
|
|
access rights, and record rules.
|
|
|
|
|
|
|
|
.. card:: Safeguard your code with unit tests
|
|
|
|
:target: tutorials/unit_tests
|
|
|
|
:tag: Beginner
|
|
|
|
|
|
|
|
Write effective unit tests in Python to ensure the resilience of your code and safeguard it
|
|
|
|
against unexpected behaviors and regressions.
|
|
|
|
|
2024-09-19 17:00:59 +07:00
|
|
|
.. card:: Write importable modules
|
|
|
|
:target: tutorials/importable_modules
|
|
|
|
|
|
|
|
Write modules that define new models, fields and logic using only data files.
|
|
|
|
|
2023-01-18 23:37:41 +07:00
|
|
|
.. card:: Reuse code with mixins
|
|
|
|
:target: tutorials/mixins
|
|
|
|
|
|
|
|
Create mixins to code features once and reuse them in multiple models.
|
|
|
|
|
|
|
|
.. card:: Build PDF reports
|
|
|
|
:target: tutorials/pdf_reports
|
|
|
|
|
|
|
|
Use QWeb, Odoo's powerful templating engine, to create custom PDF reports for your documents.
|
2025-02-27 18:56:07 +07:00
|
|
|
```
|
|
|
|
|