Anatomy of a module

Anatomy of a module#

A Tryton module is a python module thus it is a directory that contains a __init__.py file.

A Tryton module must also contain a tryton.cfg file which is used to define the dependencies between modules and also lists the XML files that must be loaded by Tryton.

Usually a module will define views used in the user interface, those views are described by XML files stored in the view directory.

Translations are handled with po files that sit in the locale directory, one file per language.

Let’s continue with creating the models