教程¶
小技巧
If you are new to Odoo development, we recommend starting with the setup guide.
Learn the server and web frameworks¶
Server framework 101
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.
Discover the web framework
This tutorial will teach the basics of the web framework and how to work with Owl components by customizing the web client.
Master the web framework
Become an expert in the web framework. A large variety of features are covered such as fields, views, and even the kitten mode.
Expand your knowledge on the server framework¶
Define module data
Define master and demo data for an Odoo module, leveraging the strengths of the CSV and XML file formats to accommodate specific data requirements.
Restrict access to data
Implement security measures to restrict access to sensitive data with the help of groups, access rights, and record rules.
Safeguard your code with unit tests
Write effective unit tests in Python to ensure the resilience of your code and safeguard it against unexpected behaviors and regressions.
Write importable modules
Write modules that define new models, fields and logic using only data files.
Reuse code with mixins
Create mixins to code features once and reuse them in multiple models.
Build PDF reports
Use QWeb, Odoo’s powerful templating engine, to create custom PDF reports for your documents.