Tryton/Parties

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Party[edit | edit source]

  • Module: party
  • Version: 3.8

The module party defines the concepts of party, party category, adresses and contact mechanisms.

Concepts[edit | edit source]

A party in Tryton corresponds to the juridical concept of persona, i.e., some human being or organization that practices juridical acts. A party makes purchases, sales, is invoiced, can be an employee, a customer, a supplier. It means that Tryton design has embraced a general concept of party not creating, a priori, different tables and/or columns for different types of persons.

One party is defined by a name, a code, a language and by identifiers. A party can have many addresses, contact mechanisms and belong to different categories. It can also be active or inactive.

The identifier is a localized code that will single out or identify the party to a specific situation, for example, a VAT number, a tax id, a birth certificate code and so on.

A party is related to the following tables on the database:

Main diagram for the party module for Tryton ERP platform.

Configuration[edit | edit source]

Party>>Configuration>>Party Configurations

Configurations are available from the Configuration sub-menu. The configurations available are the sequence and the language.

Addresses[edit | edit source]

Party>>Addresses

An address is directly linked to a party.

Address diagram for the party module for Tryton ERP platform.

An address should have a name that defines it, the name of the street, its complement, the name of the city, ZIP code, subdivision name and country name.

It is possible to register different addresses for the same party. For example, home address, commercial address, vacation address. It is also possible to deactivate and address. In this case, the inactive address is removed from the main list.

The first address registered to a party is used by the reports functionality to generate a label and a basic letter model.

Contact Mechanisms[edit | edit source]

Party>>Contact Mechanisms

The contact mechanisms have a type, a value and an URL. Just like the addresses, contact mechanisms can be activated or deactivated. The types are phone, mobile, e-mail, IRC, etc.

Categories[edit | edit source]

Party>>Categories

One category is defined by a name. Parties can be associated to categories. Categories can be used to organize and classify the parties.

Category diagram for the party module for Tryton ERP platform.

Categories can have a nested structure. For example, the category Programmers can be the parent category for Python Programmers. The latter can be the parent category for Tryton Programmers' and so on.