Skip to content

Commit

Permalink
[ADD] Developer: data module tutorial
Browse files Browse the repository at this point in the history
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 #11050

Signed-off-by: Bouvy Damien (dbo) <[email protected]>
  • Loading branch information
bouvyd committed Oct 31, 2024
1 parent 660f73e commit c6a8619
Show file tree
Hide file tree
Showing 3 changed files with 953 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/developer/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Tutorials
tutorials/define_module_data
tutorials/restrict_data_access
tutorials/unit_tests
tutorials/importable_modules
tutorials/mixins
tutorials/pdf_reports

Expand Down Expand Up @@ -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

Expand Down
Loading

0 comments on commit c6a8619

Please sign in to comment.