41 lines
768 B
ReStructuredText
41 lines
768 B
ReStructuredText
.. _tutorial-module:
|
|
|
|
===============
|
|
Module Tutorial
|
|
===============
|
|
|
|
A step by step tutorial to create a first module.
|
|
In this tutorial we will create a simple Tryton module to manage business
|
|
opportunities.
|
|
|
|
We will use Tryton and SQLite_ as database, so the installation should be pretty
|
|
straightforward.
|
|
|
|
.. TODO: rename module into training
|
|
|
|
We will call our module ``opportunity``. This simple module will do the
|
|
following things:
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
setup
|
|
setup_database
|
|
anatomy
|
|
model
|
|
view
|
|
default_values
|
|
on_change
|
|
function_fields
|
|
domains
|
|
workflow
|
|
states
|
|
extend
|
|
wizard
|
|
report
|
|
table_query
|
|
|
|
Let's start with :ref:`installing Tryton for developers <tutorial-module-setup>`.
|
|
|
|
.. _SQLite: https://sqlite.org/
|