To simplify usage and programming of Tryton we are using recurring and reusable conceptions.
Tryton provides the following view types:
- List
- Table
- Tree
- Form
- Graph
- Board
A list view is for showing and editing many records. A list view can be represeted like a flat table or like a nested tree structure.
A sequence represents the position of the record in a list as an integer number.
An editable list is like a spreadsheet table which shows data and allows to edit data.
Drag’n Drop is done by selecting one ore more records, click and hold mouse1 while droping the selection into another field...
Trees are hierarchical data structures composed of linked nodes. A node can have one and only one parent. Nodes without a parent are called root nodes. A node can have many children. Nodes without children are called leafs.
Nodes which are not leafs, can be expanded by click or right-arrow-key and showing their children nodes.
A tree is build up by node entries. The parent and children fields can be set manual or with Drag’n Drop.
The form view is for data entry of a single record.
The graph view is for showing many records in a pie or line chart...
The board view allows to combine tree, form and graph views in a single view.
The Active field implements the conception of soft deletion. In contrary to default deletion, a record is not deleted in the database, but is no longer available for future use.
Deactiveation is used in Models which would forbid the deletion of a record once it is referenced in another model.
Deaktivated records of a model can be searched with the search bar entry: Active:False.
The default for Active fields is True.