# Newsletter for February 2021

**URL:** <https://discuss.tryton.org/t/newsletter-for-february-2021/3667>\
**Category:** News\
**Created:** [February 1, 2021, 9:00am UTC](https://discuss.tryton.org/t/newsletter-for-february-2021/3667 "2021-02-01T09:00:14Z")\
**Posts on this page:** 2\
**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, 2021, 9:00am UTC](https://discuss.tryton.org/t/newsletter-for-february-2021/3667/1 "2021-02-01T09:00:14Z")

</div>

![Colorful air balloons flying over picturesque rocky terrain](https://discuss-cdn.tryton.org/uploads/default/original/2X/1/1a9a02b37902830d9d5bd7a7c3fb14ffb61ffb89.jpeg)  
Improvements to Tryton continue to be made. Here you can find the latest changes which have been included in the last month.

## Changes for the User

Tryton now [displays the reconciliation column on the general ledger line](https://bugs.tryton.org/issue5169) so users can use the field as a search filter.  
It’s also possible to [filter the general ledger by journal](https://bugs.tryton.org/issue8757) to only display the ledger for specific journals.

We added a new set of [reports which display various margins](https://bugs.tryton.org/issue9665) based on the stock moves. You can browse the margins per product or category.

Product [variants are now automatically deactivated](https://bugs.tryton.org/issue4347) when their template is deactivated. Also the [product supplier and customer can be deactivated](https://bugs.tryton.org/issue8062) and are also automatically deactivated when their template is deactivated.

The [sale complaint creates an invoice correction](https://bugs.tryton.org/issue9975) when the action is to create a credit note. This is needed so that the quantity invoiced is kept coherent with the stock move quantity and to update the unit price.

It is now possible to [amend a purchase or sale line that does not have a product](https://bugs.tryton.org/issue9811).

A [default lead time can now be set on supplier parties](https://bugs.tryton.org/issue9420). It is used if the product supplier does not have a lead time or if there is no product supplier.

It is now possible to define a [default lead time for all salable products](https://bugs.tryton.org/issue9420). It is used if the product has no lead time defined.

The desktop [client now displays a waiting watch](https://bugs.tryton.org/issue8845) when generating a long report.

It is now possible to define a specific [payment term date on the invoice](https://bugs.tryton.org/issue9956). This is useful when entering a supplier invoice so the exact due date is recorded. It works also for customer invoices.

## New Modules

A new module has landed in Tryton that [extends the carrier selection](https://bugs.tryton.org/issue9438) to allow use of a country’s subdivision or a zip code expression.

## Changes for the System Administrator

[All caches are now cleared](https://bugs.tryton.org/issue9759) automatically when a new module is loaded. This means that on multi-server setups, other instances do not need to be restarted if the list of activated modules changes.

The [pool of other trytond processes are refreshed](https://bugs.tryton.org/issue8988) automatically when new modules are activated. This avoids the need to manually restart those processes.

A new option has been added to `trytond-admin` that runs a [validation on a percentage of the records, or all the records, from the listed models and reports any errors](https://bugs.tryton.org/issue9782). This can be used to probe the database after a upgrade to ensure that everything is still correct.

## Changes for the Developer

The [HTML editor supports now the Genshi element directives](https://bugs.tryton.org/issue9510). This means that users can now, for example, use it to create email templates [with directives like for-loop etc.](https://genshi.edgewall.org/wiki/Documentation/0.6.x/xml-templates.html)

We have [removed the foreign key constraint for the sequence](https://bugs.tryton.org/issue9822) used to number the invoice. We detected that the foreign key was a source of lock contention.

We [improved the execution time of the sale reports](https://bugs.tryton.org/issue9950) by using a [Common Table Expression](https://en.wikipedia.org/wiki/Hierarchical_and_recursive_queries_in_SQL#Common_table_expression) for the currency rate. On large database, the time went down from 2m to 1.5s.

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [March 3, 2021, 9:00am UTC](https://discuss.tryton.org/t/newsletter-for-february-2021/3667/2 "2021-03-03T09:00:20Z")

</div>

Closed on March 3, 2021, 9:00am UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.
