[ADD] Developer: data module tutorial

Introduce a new tutorial about creating Odoo modules using XML data files
instead of Python code.

This guide is follows closely the 'Server Framework 101' tutorial and
covers the following:

- Module structure and deployment
- Defining models and fields
- Setting up security and access rights
- Creating views and actions
- Implementing relational fields (many2one, many2many, one2many)
- Working with computed and related fields
- Adding business logic through server actions and automation rules
- Creating website controllers for API endpoints

The tutorial includes practical exercises and code examples to reinforce
learning, catering to developers who need to customize Odoo without writing
Python code (e.g. Odoo PS-Tech employees, partners that focus on SaaS instances
or author of Industry modules).

Task-4167176

closes odoo/documentation#11304

X-original-commit: c6a8619367
Signed-off-by: Bouvy Damien (dbo) <dbo@odoo.com>
This commit is contained in:
Damien Bouvy
2024-09-19 10:00:59 +00:00
parent 9946fd4ec6
commit 65a752daf6
3 changed files with 953 additions and 0 deletions
+6
View File
@@ -13,6 +13,7 @@ Tutorials
tutorials/define_module_data
tutorials/restrict_data_access
tutorials/unit_tests
tutorials/importable_modules
tutorials/mixins
tutorials/pdf_reports
@@ -74,6 +75,11 @@ Expand your knowledge on the server framework
Write effective unit tests in Python to ensure the resilience of your code and safeguard it
against unexpected behaviors and regressions.
.. card:: Write importable modules
:target: tutorials/importable_modules
Write modules that define new models, fields and logic using only data files.
.. card:: Reuse code with mixins
:target: tutorials/mixins