Tryton is a business software platform which comes with a set of modules that can be activated to make an ERP, MRP, CRM etc.
During the last month, we kept improving the user experience with many changes that fine tune how Tryton works. There was also a major improvement to the product cost calculations.
Changes For The User
We simplified the stock accounting configuration to only use 3 accounts: Stock, IN and OUT.
The bank name and currency code are now included in the record names of bank accounts.
Tryton already has builtin protection against brute force attacks by returning a 429 HTTP status. However, as this can also happen on valid user requests, when the user fails to login successfully multiple times in quick succession, we have improved the clients so they display a more user friendly error message explaining to try again later.
An attempt is now made to restore the web client session when the user manually enters in the database and login. If the user’s session is no longer valid then the login process continues as usual.
Now the wizard to credit an invoice asks for the invoice date to put on the credit note. This is useful when refund is checked because the credit note is automatically posted and does not allow modification after that.
The separators, used with the name of a field, are now considered a label for the field. This means that the keyboard shortcuts for quick navigation also work for them just like with other labels. And they are then used by screen readers, and for accessibility, to describe the field.
The product cost calculation has received major improvements. The cost is automatically recalculated when the cost of incoming moves is changed (for example by a landed cost). The production costs are also recalculated automatically in cascade. The cost of outgoing moves are updated with the new cost for that date. This way the product cost history is always up to date.
The status of projects and tasks can now be directly created by users. It is possible to define a minimal progression of statuses which projects and tasks can pass through. Each status automatically becomes a tab on the project window.
The default frequency for asset depreciation can now be configured per company. This is done because normally all assets of the same company are depreciated at the same frequency.
Changes For The Developer
We now use tests to ensure that all SQL functions are supported by all the supported database back ends. This change targeted mainly SQLite which does not natively support all of them. Any missing functions were implemented with a custom version.
Tryton now checks the stock quantity earlier when quoting or confirming sales. This prevents the unnecessary loss of a sales number due to the transaction being rolled-back.
yalign attributes are now supported by the
<group/> tag. They allow different alignments to be set when the widget is not expanded.