# Newsletter March 2023

**URL:** https://discuss.tryton.org/t/newsletter-march-2023/5933
**Category:** News
**Created:** [March 1, 2023, 7:00am UTC](https://discuss.tryton.org/t/newsletter-march-2023/5933 "2023-03-01T07:00:22Z")
**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: [March 1, 2023, 7:00am UTC](https://discuss.tryton.org/t/newsletter-march-2023/5933/1 "2023-03-01T07:00:22Z")

</div>

![Jetty Leading Out Into A Lake With The Sun Setting](https://discuss-cdn.tryton.org/uploads/default/original/2X/5/53348f3e796e2a4beb09a9a96c2a5c7a1bab1eb8.jpeg)

This is the last newsletter for the Tryton 6.6 series. You will find the latest development:

## Changes for the User

A [warning is raised when cancelling an account move](https://foss.heptapod.net/tryton/tryton/-/merge_requests/226) related to an invoice, because the invoice will be marked as _paid_ and not _cancelled_.

The [receivable/payable lines now have a column with the _cumulative balance_](https://foss.heptapod.net/tryton/tryton/-/merge_requests/125). This helps you see the evolution of the customer/supplier debt.

We’ve [added links from party to its purchase and sales lines](https://foss.heptapod.net/tryton/tryton/-/merge_requests/225) in addition to the purchases and sales. Also all those links show the number of _pending_ and _done_ records.

An [option to cancel a move with a reversal move](https://foss.heptapod.net/tryton/tryton/-/merge_requests/233) has been added. So, when checked, Tryton will post the move with the debit and credit swapped over, instead of posting negative debits and credits.

Now Tryton [notifies the user when they are registering a party identifier](https://foss.heptapod.net/tryton/tryton/-/merge_requests/244) that is already in use with another party. This helps prevent duplicate parties from being created.

The [stock moves and invoice lines linked to a sale or purchase line](https://foss.heptapod.net/tryton/tryton/-/merge_requests/240) are now displayed on their form. This is useful to understand the status of an order.

Tryton now [supports setting a price for a carrier cost that is based on weight](https://foss.heptapod.net/tryton/tryton/-/merge_requests/250) even if the products have no weight.

We’ve added a [new category of unit of measure for energy](https://foss.heptapod.net/tryton/tryton/-/merge_requests/293) with some common units like the Joule and Kilowatt-hour.  
And we [removed the non-standard “Work day” unit](https://foss.heptapod.net/tryton/tryton/-/merge_requests/262) because its value depends on the company’s working practices.

## New Modules

## Changes for the System Administrator

The [size of each cache can now be fine tuned](https://foss.heptapod.net/tryton/tryton/-/merge_requests/163) using entries in the configuration file. So you no longer need to develop a new module to change the cache size for a particular usage.

## Changes for the Developer

The server now includes the [tools to generate barcodes and QR codes](https://foss.heptapod.net/tryton/tryton/-/commit/98664db40939951429420d579381c6658375abf6).  
The [_product module_ makes use of a method that generates the barcode](https://foss.heptapod.net/tryton/tryton/-/commit/12b64829) for a corresponding product identifier.

We’ve [added two methods on the `Field`](https://foss.heptapod.net/tryton/tryton/-/merge_requests/108). `searchable` which returns `True` if the field can be used in a _domain expression_ and `sortable` if the field can be used in an _order expression_.

The [`list-form` view now has abilities to do validation, pre-validation and automatic saving](https://foss.heptapod.net/tryton/tryton/-/merge_requests/191) when the selected record changes. This mimics the behaviour of the _editable list_.  
Also the [selections are now restored on `list-form` view](https://foss.heptapod.net/tryton/tryton/-/merge_requests/192).

New types of exceptions have been introduced: [`RPCReturnException` and `ButtonActionException`](https://foss.heptapod.net/tryton/tryton/-/merge_requests/182). They are used to launch an action from a button using an exception (which rolls back the transaction started by the button).  
This is useful if, for example, you need to launch a wizard before executing a transition.

Now it’s [easy to extend the context keys that the caches must ignore](https://foss.heptapod.net/tryton/tryton/-/merge_requests/121).

For the calendar view, it is possible to [scroll to a time](https://foss.heptapod.net/tryton/tryton/-/merge_requests/242), by default, by including the `calendar_scroll_time` key in the context. This is only supported by the web client for now.

---

<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 31, 2023, 7:00am UTC](https://discuss.tryton.org/t/newsletter-march-2023/5933/2 "2023-03-31T07:00:49Z")

</div>

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