# Newsletter February 2020

**URL:** https://discuss.tryton.org/t/newsletter-february-2020/2160
**Category:** News
**Created:** [February 1, 2020, 9:30am UTC](https://discuss.tryton.org/t/newsletter-february-2020/2160 "2020-02-01T09:30:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [February 1, 2020, 9:30am UTC](https://discuss.tryton.org/t/newsletter-february-2020/2160/1 "2020-02-01T09:30:02Z")

</div>

![Customers & Users / Color Wheel](https://discuss-cdn.tryton.org/uploads/default/original/1X/3795ba4d5507a9cb028e2f2c64e56e30ffb11d16.jpeg)

[Tryton](https://www.tryton.org/) is a business software platform which comes with a set of modules that can be activated to make an [ERP](https://en.wikipedia.org/wiki/Enterprise_resource_planning), [MRP](https://en.wikipedia.org/wiki/Manufacturing_resource_planning), [CRM](https://en.wikipedia.org/wiki/Customer_relationship_management) 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.

Contents:

- [Changes for users](#heading--users)
- [Changes for developers](#heading--developers)

## Changes For The User

We simplified the [stock accounting configuration to only use 3 accounts](https://bugs.tryton.org/issue7273): Stock, IN and OUT.

The [bank name and currency code are now included](https://bugs.tryton.org/issue8908) 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](https://bugs.tryton.org/issue8935) explaining to try again later.

An attempt is now made to [restore the web client session](https://bugs.tryton.org/issue8948) 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](https://bugs.tryton.org/issue8925) 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](https://bugs.tryton.org/issue8961) 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](https://bugs.tryton.org/issue7271) (for example by a landed cost). The production costs are also recalculated automatically in cascade. The [cost of outgoing moves are updated](https://bugs.tryton.org/issue8795) with the new cost for that date. This way the [product cost history is always up to date](https://bugs.tryton.org/issue8930).

The [status of projects and tasks can now be directly created](https://bugs.tryton.org/issue7746) 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](https://bugs.tryton.org/issue8987) 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](https://bugs.tryton.org/issue8942) 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](https://bugs.tryton.org/issue8932) when quoting or confirming sales. This prevents the unnecessary loss of a sales number due to the transaction being rolled-back.

The [`xalign` and `yalign` attributes are now supported by the `<group/>` tag](https://bugs.tryton.org/issue8956). They allow different alignments to be set when the widget is not expanded.
