# Newsletter January 2024

**URL:** <https://discuss.tryton.org/t/newsletter-january-2024/6810>\
**Category:** News\
**Created:** [January 1, 2024, 7:00am UTC](https://discuss.tryton.org/t/newsletter-january-2024/6810 "2024-01-01T07:00:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![udono](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/udono/32/2114_2.png) [@udono](https://discuss.tryton.org/u/udono)\
**Post date:** [January 1, 2024, 7:00am UTC](https://discuss.tryton.org/t/newsletter-january-2024/6810/1 "2024-01-01T07:00:16Z")

</div>

![Blue butterfly on yellow flower](https://discuss-cdn.tryton.org/uploads/default/original/2X/e/e19bf19786e7f557b8e44d8ef76db9d53355998b.jpeg "Photo by Chris F from Pexels: https://www.pexels.com/photo/blue-butterfly-2929355/")

During the last month we mainly focused on [fixing bugs](https://foss.heptapod.net/tryton/tryton/-/merge_requests?scope=all&state=merged&label_name%5B%5D=type%3A%3Acrash), adjusting [how things work](https://foss.heptapod.net/tryton/tryton/-/merge_requests?scope=all&state=merged&label_name%5B%5D=type%3A%3Abehavior), improving [performance](https://foss.heptapod.net/tryton/tryton/-/merge_requests?scope=all&state=merged&label_name%5B%5D=type%3A%3Aperformance) and [adding new features](https://foss.heptapod.net/tryton/tryton/-/merge_requests?scope=all&state=merged&label_name%5B%5D=type%3A%3Afeature).

## Changes for the User

### Sales, Purchases and Projects

Related [shipments and moves are now reset and _cancelled_ when a purchase request is _cancelled_](https://foss.heptapod.net/tryton/tryton/-/issues/12825).

When creating a sale from an opportunity [the sale now has default addresses and payment terms](https://foss.heptapod.net/tryton/tryton/-/merge_requests/907), if they are not defined on the opportunity.

The [blanket agreement record names now contain the _reference_ and will fallback to the _id_](https://foss.heptapod.net/tryton/tryton/-/issues/12805) if there isn’t a _number_ or a reference available, like we do for sales and purchases.

We added some [UTM parameters](https://en.wikipedia.org/wiki/UTM_parameters) to emails sent by the marketing modules. [The following parameters were added:](https://foss.heptapod.net/tryton/tryton/-/issues/12772)

- utm\_campaign
- utm\_medium
- utm\_source

The [_create purchase_ wizard on purchase requests now opens the newly created purchases](https://foss.heptapod.net/tryton/tryton/-/issues/12796).

Since Tryton defaults to the [most used currency for new purchases](https://foss.heptapod.net/tryton/tryton/-/commit/6167d58f77d02cbad1a9a3c77548b9746d8485e5), we’ve now updated it to also do the [same for purchase requests](https://foss.heptapod.net/tryton/tryton/-/issues/7027).

### Accounting, Invoicing and Payments

When using sale advance payments Tryton [no longer sets the invoice date if the advance payment condition has no invoice delay](https://foss.heptapod.net/tryton/tryton/-/issues/12844). If you’d like the invoice date to default to today’s date, set a delay of `0`.

### Stock, Production and Shipments

On an unaltered system [modification of product locations is now restricted to the _Stock Administrator_ access group](https://foss.heptapod.net/tryton/tryton/-/issues/12798).

The [progress of a move is now rounded to four digits](https://foss.heptapod.net/tryton/tryton/-/issues/12834).

Tryton now [only checks if a lot is required when a move is going to the _done_ state](https://foss.heptapod.net/tryton/tryton/-/issues/12547).

The [stock location code is now included in the record name of a location](https://foss.heptapod.net/tryton/tryton/-/issues/12804).

We added a [confirmation dialogue to the _cancel-_ buttons on shipments](https://foss.heptapod.net/tryton/tryton/-/issues/9667).

When moving consumable products the default _to-location_ is [now preset with the default product location](https://foss.heptapod.net/tryton/tryton/-/issues/12315).

### User Interface

The [URL button is now hidden, when a URL field is empty](https://foss.heptapod.net/tryton/tryton/-/issues/12747), as disabling it did not prevent the user from clicking on it.

Each [button in a list-view is now rendered read-only](https://foss.heptapod.net/tryton/tryton/-/issues/12741) when the appropriate record is also read-only.

We improved the behaviour of button clicks. Now [clicking rapidly on a button](https://foss.heptapod.net/tryton/tryton/-/issues/12818) only launches the action once. This same behaviour has also been implemented for [widget buttons](https://foss.heptapod.net/tryton/tryton/-/issues/12819).

Now [labels are aligned to the start of the line on extra small screens](https://foss.heptapod.net/tryton/tryton/-/issues/12807).

On [small screens we now hide the search widget](https://foss.heptapod.net/tryton/tryton/-/issues/12014) on list views. A toolbar button shows the search widget on demand.

 ![Screenshot of updated list view on small device without search widget.](https://discuss-cdn.tryton.org/uploads/default/original/2X/2/218555ed0aafd3aeb4eb06aa08fc7668d6e09938.png "Screenshot of list view on small device.") ![Screenshot of former list view on small device with search widget.](https://discuss-cdn.tryton.org/uploads/default/original/2X/f/ff715e104ece5aea002c90058c95e841b147ec42.png "Screenshot of list view on small device.")  
 ![Screenshot of updated list view on small device with search widget.](https://discuss-cdn.tryton.org/uploads/default/original/2X/0/042eab44a4d947a31a842229331a2712b941a625.png "Screenshot of list view on medium device.")

The [workflow graphs for models no longer overlap](https://foss.heptapod.net/tryton/tryton/-/issues/12253) and incorrectly share states.

> **More**
>
> The former workflow graph showed overlapping and missing information:
> 
> ![Picture of the former workflow graph with overlapping information.](https://discuss-cdn.tryton.org/uploads/default/original/2X/0/0d41965b5a67fd3176dde62b212cba97a7494b4c.png)  
> Now the re-worked workflow graph shows all the information separately:  
> ![Picture of the re-worked workflow graph with separated Information.](https://discuss-cdn.tryton.org/uploads/default/original/2X/3/36ac09885c6ed37117ed9a47a2ba73f96087c000.png)

## Documentation

[We reworked parts of the Tryton documentation](https://foss.heptapod.net/tryton/tryton/-/merge_requests?scope=all&state=merged&label_name%5B%5D=type%3A%3Adocumentation).

In validation error messages the [record name is now prefixed with the word _“record”_](https://foss.heptapod.net/tryton/tryton/-/merge_requests/991) in order to make the message clearer.

## New Releases

We released bug fixes for the currently maintained [long term support series](https://discuss.tryton.org/t/release-process/395)  
[7.0](https://foss.heptapod.net/tryton/tryton/-/commits/branch/7.0) and [6.0](https://foss.heptapod.net/tryton/tryton/-/commits/branch/6.0), and for the penultimate series [6.8](https://foss.heptapod.net/tryton/tryton/-/commits/branch/6.8).

## Changes for the System Administrator

For the Tryton desktop client we now [support the arm64 darwin architecture](https://foss.heptapod.net/tryton/tryton/-/issues/10046) allowing it to be built on Apple Silicon.

## Changes for Implementers and Developers

The [order of keys is now retained when changing a `fields.Dictionary`](https://foss.heptapod.net/tryton/tryton/-/issues/12750) through an `on_change` method.

For selection and multiselection fields we now use the [string version of the value in error messages](https://foss.heptapod.net/tryton/tryton/-/merge_requests/990).

Authors: @dave @pokoli @udono

---

_[View the full topic](https://discuss.tryton.org/t/newsletter-january-2024/6810)._
