Subsections of 2 System and Requirements
2.1 System Requirements and Installation
This page describes the installation of the Tryton server (trytond) and the web client sao, the configuration and the setup of the database. Required are Python 3.13, Node.js with npm, git and a PostgreSQL server with a database user tryton.
The descriptions on this page cover a development or test system. Productive operation requires additional measures (among others securing server, database and access, encryption, backups). Every operator is responsible for the security of their own systems.
Install the Tryton Server
Create and enter the project directory:
Create a new Python virtual environment:
Activate the environment:
Install Tryton with all modules via the
requirements.txt:
Install the Web Client sao
Enter the project directory; sao is installed in a directory of its own below it:
The version of sao (here 8.0) must match the version of trytond.
Install the web app in the directory with Node:
Build the web app with Grunt:
Configure the Server
trytond.conf
The file trytond.conf holds the database connection, the web server with the sao directory and the settings of the module, e.g.:
- [queue] worker runs background tasks, e.g. Ausführen (Execute) of an adjustment run.
- [bus] allow_subscribe is needed for notifications in the client.
- [real_estate] genesis_token is the access key for GENESIS-Online (Destatis) used to fetch the price indices, see 6.7.2 Index Rent.
Comments go on a line of their own starting with #. A comment after a value (root = /path # comment) is read as part of the value. Password and access key belong only in the local file, not in a repository.
Protecting Passwords
Passwords and access keys do not have to be in trytond.conf:
- Database without password: if Tryton and PostgreSQL run on the same machine, trytond connects via the Unix socket (
uri = postgresql:///); PostgreSQL checks the operating system user viapeer(entrylocal … peerinpg_hba.conf). ~/.pgpass: the URI only containspostgresql://tryton@localhost:5432/, the password is in the file~/.pgpassof the user running trytond (localhost:5432:*:tryton:<password>, permissions600).- Environment variables: trytond takes values from variables named
TRYTOND_<SECTION>__<OPTION>, e.g.TRYTOND_DATABASE__URIorTRYTOND_REAL_ESTATE__GENESIS_TOKEN. They are set in the start script, e.g. from the Mac keychain (security find-generic-password … -w) or a password manager. - Containers: mount secrets at runtime as Docker secrets or Kubernetes
Secretand set the environment variables from them – never write them into the image or Dockerfile.
In general trytond.conf belongs only to the user running trytond (permissions 600) and never into a repository. The database user only needs rights on its own database.
logconf.conf
Logging is defined in a file of its own, here rotating daily in tryton.log (30 files) and additionally to the console:
Manage the Database
The database is managed with the PostgreSQL tools; user and name (here both tryton) must match the trytond.conf.
Run the following actions with care – dropping and restoring in particular overwrite data irrevocably.
| Action | Command |
|---|---|
| Create the database | createdb -U tryton tryton |
| Drop the database | dropdb -U tryton tryton |
| Back up the database | pg_dump -U tryton -Fc -d tryton > tryton_$(date +%Y%m%d_%H%M%S).dump |
| Restore the database | pg_restore -U tryton -d tryton tryton_<date_time>.dump |
The backup creates a dump in PostgreSQL format with the database name and date/time in the file name.
trytond is now installed, the configuration is set and an empty database is set up.
Initialise the Database and Start the Server
On a new database
trytond-admincreates all tables and initialises Tryton:The shell asks for the e-mail address and the password of the user admin:
Start the server:
--devis the development mode (among other things, changed files are reloaded); for production start without--dev.Open http://localhost:8000/#tryton in the browser and log in as admin.
Initial Setup in the Client
After the first login the wizard Module Configuration guides through the initial setup. The forms are in English at first.
Log in with database
tryton, user admin and the password fromtrytond-admin.

Figure 2.1-1: Login The wizard Module Configuration starts; continue with OK.

Figure 2.1-2: Module Configuration Configure Languages: mark the languages whose translations are to be loaded, e.g. English and German, then Load.

Figure 2.1-3: Configure Languages Configure Modules: mark the required modules, e.g.
real_estate– dependent modules are activated as well –, then Activate.

Figure 2.1-4: Configure Modules Perform Pending Activation/Upgrade lists all modules to be activated (here 73); start with OK. The server creates the tables, the log shows the registered models. Finally the client reports “The modules have been upgraded / activated.”

Figure 2.1-5: Modules to activate

Figure 2.1-6: Server log during activation

Figure 2.1-7: Activation done The Module Configuration continues; go on with OK.

Figure 2.1-8: Continue Module Configuration Configure Company: after the note the company is created. In the field Party enter a new party with name, language and address and save it; choose currency (Euro) and timezone (Europe/Berlin). Employees are optional. Create with Add.

Figure 2.1-9: Configure Company – note

Figure 2.1-10: Configure Company

Figure 2.1-11: Party of the company The progress is shown; continue with Next.

Figure 2.1-12: Progress Create Chart of Accounts from Template: after the note choose company and account template, e.g. Kontenrahmen der Wohnungswirtschaft (WoWi), then set the default accounts for receivables, payables, revenue and expense and create them with Create.

Figure 2.1-13: Chart of accounts – note

Figure 2.1-14: Chart of accounts – choose template

Figure 2.1-15: Chart of accounts – default accounts “The configuration is done.” – finish with OK.

Figure 2.1-16: Configuration done
The menu with Immobilien (real estate) is now available. The user menu at the top right (Einstellungen…, preferences) allows, among other things, setting the user’s language.

Further modules can be activated later, see 2.2 Activate Modules.
Starting Server, Worker and Cron
For full operation three processes run side by side, each in its own terminal in the project directory:
| Process | Task |
|---|---|
Server (trytond) | Login and use via the client |
Worker (trytond-worker) | Background processing (queue), e.g. Ausführen (Execute) of an adjustment run; requires [queue] worker = True |
Cron (trytond-cron) | Scheduled jobs, e.g. fetching the price indices, see 2.6 Jobs and Periodic Tasks |
The server is started as described above:
The worker for background processing:
The cron for scheduled jobs:
If the worker is not running, background tasks stay in the queue; if the cron is not running, no jobs are executed.
2.3 Users, Login and Permissions
Users and groups are part of standard Tryton. This page only gives an overview of what matters for real estate management; the other tabs are described in the Tryton documentation.
Every person working with the system is created twice:
- as a user under Verwaltung › Benutzer › Benutzer (Administration › Users › Users) – for login and access rights;
- as a party (business partner) and as an employee of the company – for responsibilities, tasks and correspondence, see 3.2 Companies and Employees.
Create a User
The header of the form holds Name, Benutzername (login), Passwort (password, made visible with Anzeigen), Aktiv, E-Mail and a picture. Below follow the tabs Benutzer (user), Aktionen (actions), Zugriffsberechtigungen (access permissions), Anwendungen (applications), Einstellungen (preferences) and Dashboard.
Tab User: Companies and Employees

In the tab Benutzer (user) the system user is linked with their Mitarbeiter (employee), i.e. the party (business partner) from 3.2 Companies and Employees. Only then can the employee be used in processes and tasks, and the user receives and handles their tasks, see 10 Tasks and Processes.
- Unternehmen (companies): the companies the user may work for.
- Mitarbeiter (employees): the employee parties of the user. This list determines which user is responsible for a task: if an employee holds the responsible party role on the object, the user receives the task, see 5.1 Property – tab Partner. An employee should therefore be assigned to exactly one user.
- Aktuelles Unternehmen and Aktueller Mitarbeiter (current company / employee): what the user is currently working with. The Aktueller Mitarbeiter is set (in the figure Verwalter 1) and entered e.g. as Erledigt von (done by) when a task is completed. Unternehmen Filter (company filter) defines whether only data of the current company is shown.
- Aktueller Logistikstandort (current warehouse): for stock and inventory.
- Telefon and Mobiltelefon (phone, mobile) of the user.
- Aufgaben-Erinnerungen per E-Mail (task reminders by e-mail): in addition to the notification in the client, the user receives e-mail reminders for tasks whose type sends e-mails.
- Signatur (signature): formatted text, e.g. for e-mails.
Groups and Permissions

In the tab Zugriffsberechtigungen Gruppen (groups) are assigned to the user; + adds a group, − removes it. The groups control which menus are visible and which data may be read or changed. The module ships these groups:
| Group | Purpose |
|---|---|
| Immobilien Administration (Real Estate Administration) | Maintain settings and master data of the module |
| Immobilienobjekt (Real Estate Object) | Edit real estate objects |
| Immobilienvertrag (Real Estate Contract) | Edit contracts |
| Immobilien Abrechnung (Real Estate Billing) | Carry out the operating cost settlement |
| Immobilien Anzeigen (Real Estate View) | Read everything in the module, change nothing |
| Rechnungswesen Anzeigen (Accounting View) | Read accounting data, change nothing |
| Partner Zugriff (Party Access) | Create, change and delete parties – all other groups see parties read-only |
In the figure the user has the groups Immobilien Anzeigen, Immobilienobjekt, Immobilienvertrag and Partner Zugriff. The groups themselves are under Verwaltung › Benutzer › Gruppen.
2.4 Sequences
Sequences
Sequences assign the numbers of documents, transactions and master data of all modules.

Normal sequences are under Verwaltung › Nummernkreise › Nummernkreise (Administration › Sequences › Sequences). Besides those of the Tryton modules (party, shipments, purchase, sale, payment group etc.) the real estate module ships and sets up its own sequences:
| Sequence | Prefix | Example |
|---|---|---|
| Anpassungslauf (adjustment run) | AL-${year}- | AL-2026-0001, see 6.7 Rent Adjustments |
| Modernisierung (modernisation) | MOD-${year}- | MOD-2026-0001, see 6.7.4 Modernisation |
| Prüfvorgang (inspection) | PR-${year}- | PR-2026-0001, see 8.2 Performing Inspections |
${year} is replaced by the current year, the running number has four digits with leading zeros. Prefix and padding can be adapted if required.
Strict Sequences

Accounting needs strict sequences (Strikte Nummernkreise): they assign consecutive numbers without gaps, as required for account moves and invoices. They are under Verwaltung › Nummernkreise › Strikte Nummernkreise (Administration › Sequences › Strict Sequences); normal sequences under Nummernkreise, the kinds under Typen (types).
Typically there is one strict sequence per fiscal year for:
| Sequence | Sequence type |
|---|---|
| Buchungssatz (account move) | Buchungssatz |
| Lieferantenrechnung (supplier invoice) | Rechnung (invoice) |
| Kundenrechnung (customer invoice) | Rechnung |
| Lieferantenrechnung Storno (supplier credit note) | Rechnung |
| Kundenrechnung Storno (customer credit note) | Rechnung |
In the figure the names carry the fiscal year and a running number (2025/1 … 2025/5, 2026/1 … 2026/5), all of type Inkrementell (incremental). The name must contain the full name of the fiscal year (e.g. “2025”, not “25”): with Jahresübernahme (renew fiscal year) Tryton copies the sequences and replaces the name of the previous year in the name with that of the following year – “2025/1 - Buchungssatz” thus automatically becomes “2026/1 - Buchungssatz”. The prefix is not adapted, see 4.5 Year-End Closing.

A strict sequence has:
- Name Nummernkreis (name) and Nummernkreistyp (sequence type, e.g. Buchungssatz or Rechnung), Aktiv. The name is translatable (icon on the right of the field), see the note below;
- Unternehmen (company): every sequence is assigned to a company; with several companies each has its own sequences;
- Präfix and Suffix (prefix, suffix), e.g. prefix 251 for year 25, sequence 1;
- Typ (incremental), Feste Länge (Vornullen) (padding), Schrittweite (increment) and Nächste Nummer (next number);
- Vorschau (preview) of the next number from prefix and number, in the figure 25101054 (prefix 251, number 1054 with five digits).
The Name Nummernkreis is stored per language. The translation icon on the right of the field opens the list of languages; after the setup it often still holds English or older names without fiscal year. Jahresübernahme (renew fiscal year) replaces the fiscal year in each language separately. The name must therefore contain the full name of the fiscal year in every language, e.g. German “2025/1 - Buchungssatz” and English “2025/1 - Account Move”. Otherwise the sequence of the following year gets the old name again in that language.
The strict sequences for accounting are assigned in the fiscal year, see 2.5.1 Accounting.
2.5 Settings
Settings of the module, separate from daily use. Readers who only work with the system can skip this section.
Subsections of 2.5 Settings
2.5.1 Accounting
This page is not complete yet: taxes, payment terms, journals, bank and payments and real estate accounting will be added.
Chart of Accounts
Menu Rechnungswesen › Einstellungen › Konten › Konten (Accounting › Configuration › Accounts › Accounts). The chart of accounts is created from a template during the initial setup, for real estate management from the Kontenrahmen der Wohnungswirtschaft (WoWi) (chart of accounts of the German housing industry), see 2.1 System Requirements and Installation.

The accounts are structured as a tree: account classes 0 to 9, below them groups and the individual accounts. In the figure class 2 is expanded with the Mietforderungen (rent receivables), among them 2000 Mietenkontokorrent-Sammelkonto, 2001 receivables from former tenants, 2002 receivables from settled apportionments and the value adjustments 2090 and 2095. Kontentypen (account types) hold the structure for balance sheet and income statement, Konto Abstimmungsregeln (account reconciliation rules) the rules for clearing open items.
Configuration
Menu Rechnungswesen › Einstellungen › Einstellungen (Accounting › Configuration › Configuration). It holds the accounting defaults of the company; most of them are set with the chart of accounts during the initial setup, see 2.1 System Requirements and Installation.

| Area | Settings (example in the figure) |
|---|---|
| Partei (party) | default receivable account (2000 Mietenkontokorrent-Sammelkonto) and payable account (4420), default customer payment term |
| Artikel (product) | default revenue account (6000 Sollmieten) and expense account (8050) |
| Rechnung (invoice) | customer payment reference, default tax rule customer and supplier, tax rounding (per document) |
| Buchungssatz (move) | reconciliation sequence |
| Währungsumrechnung (currency exchange) | journal, debit and credit account for exchange differences |
| Mahnung (dunning) | default dunning procedure, fallback user |
| Rechnungsabgrenzung (deferral) | accounts for deferred revenue and expense |
| Anlage (asset) | sequence, depreciation frequency; day and month of asset moves |
| Zahlung, SEPA (payment) | sequences for payment, payment group and SEPA mandate |
The sequences are described in 2.4 Sequences.
Sequences
Account moves and invoices need strict sequences per company, see 2.4 Sequences. They are assigned in the fiscal year.
Fiscal Year
Menu Rechnungswesen › Einstellungen › Geschäftsjahre › Geschäftsjahre (Accounting › Configuration › Fiscal Years). A fiscal year is created for each year and company before postings are possible in it – the periodic posting of the contracts also needs an open fiscal year.

- Header: Name (e.g. 2025), Unternehmen (company), Startdatum and Enddatum (start and end date); at the bottom the Status (open, later closed or locked).
- Tab Buchungszeiträume (periods): the periods of the year, usually monthly (2025-01 to 2025-12) with type Standard and state Offen (open). Postings are only possible in open periods; finished months are closed.
- Tab Nummernkreise (sequences), see below; next to it the tab Steuern (taxes).

The tab Nummernkreise assigns the strict sequences of the year, see 2.4 Sequences:
- Nummernkreis Buchungssatz (move sequence) for the numbers of posted account moves (in the figure 2025/1 - Buchungssatz);
- Nummernkreise Rechnung (invoice sequences) per company and optionally per period: supplier invoices, supplier credit notes, customer invoices and customer credit notes (in the figure 2025/2 to 2025/5).
Buchungszeiträume lists all periods of all years; Jahresübernahme (renew fiscal year) creates the next fiscal year based on the previous one at year end, with periods and new sequences.
Taxes
Payment Terms
Journals
Bank and Payments
Credit transfers and direct debits are first posted against a transit account Bankbewegung (Geldtransit); only the bank statement posts from the transit account to the bank account. Open items on the transit account are payments not yet confirmed by the bank. Setup in the right order and posting flow: see 4.2 Payments.
Bank Accounts in the Chart of Accounts

Under Klasse 2 › Flüssige Mittel › Guthaben bei Kreditinstituten (class 2 › liquid funds › bank balances) own accounts are created besides the template account 2740 (menu Rechnungswesen › Einstellungen › Konten › Konten, +):
| Account | Purpose | Important settings |
|---|---|---|
| 2741 bank account (one per bank, in the figure Berliner Sparkasse) | Movements according to the bank statement | Account type as 2740 |
| 2749 Bankbewegung (Geldtransit, transit) | Transit account for credit transfers and direct debits | Account type as 2740, Abstimmen (reconcile) checked, no party required |
Template accounts such as 2740 are not renamed: when the chart of accounts is updated after a module update, Tryton takes name and settings from the template again.