# Newsletter February 2023

**URL:** https://discuss.tryton.org/t/newsletter-february-2023/5848
**Category:** News
**Created:** [February 1, 2023, 7:00am UTC](https://discuss.tryton.org/t/newsletter-february-2023/5848 "2023-02-01T07:00:47Z")
**Posts on this page:** 3
**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, 2023, 7:00am UTC](https://discuss.tryton.org/t/newsletter-february-2023/5848/1 "2023-02-01T07:00:47Z")

</div>

![Man Wearing White Sweater and Black Shorts About to Run](https://discuss-cdn.tryton.org/uploads/default/original/2X/f/fe254d07093059259823d34d15cd58d37845c07d.jpeg)

A lot of new features have landed in Tryton this month. Some of them were on hold to prepare the migration to Heptapod but we are catching up quickly thanks to the new contribution workflow.

## Changes for the User

[Direct debit payments are no longer created for blocked receivable lines](https://foss.heptapod.net/tryton/tryton/-/issues/11983).

[Rounding errors for multiple taxes](https://foss.heptapod.net/tryton/tryton/-/issues/11317) applied to the same line, are now allocated between each tax line to provide a more accurate result.

A [carrier is now required to quote](https://foss.heptapod.net/tryton/tryton/-/issues/11985) a sale that has a shipment cost set. This avoids an incoherent setup which then misses quoting the carrier cost.

For consistency we [renamed the field “Name” on account reconciliation to “Number”](https://foss.heptapod.net/tryton/tryton/-/merge_requests/135) as it is generated from a sequence.

We now use a [circle border for avatar](https://foss.heptapod.net/tryton/tryton/-/merge_requests/110) images of individuals and a square border for groups like companies.

 ![list of parties with rounded avatar](https://discuss-cdn.tryton.org/uploads/default/original/2X/4/4418f460cc3079100ddb2be43c773a3c866edd11.png)

 ![Party form with rounded avatar](https://discuss-cdn.tryton.org/uploads/default/original/2X/6/6990eb0ac40a1b0d6e01ddaac74356008e6c4240.png)

The [country organizations can now be used as criteria for tariff codes and duty rates](https://foss.heptapod.net/tryton/tryton/-/issues/11838).  
We now show [all the criteria for the tariff codes](https://foss.heptapod.net/tryton/tryton/-/issues/11888) on the product form.

The [translate popup has been reworked](https://foss.heptapod.net/tryton/tryton/-/issues/3125) to be clearer. It uses now a toggle button to start editing the translation for a language and uses a label to indicate a translation is fuzzy.

 ![Translate dialog on web client](https://discuss-cdn.tryton.org/uploads/default/original/2X/3/38ab2a719a9235f5477f0275d1dd0aba65b97e64.png)

 ![Translate dialog on desktop client](https://discuss-cdn.tryton.org/uploads/default/original/2X/1/1119670351f3e6eae4dbf3212a53801f3ea49db1.png)

We [changed the boolean operators](https://foss.heptapod.net/tryton/tryton/-/commit/e3aa1151f4e85a1728327ac4cdae6e27ab339785) in the search box from `and` and `or` to `&` and `|`. This way the searches are independent of the language and we do not need to have a way of escaping them.

The clients [no longer select the first record](https://foss.heptapod.net/tryton/tryton/-/commit/e0208968107b2591055231207bbe5e0df79ba7b9) of each list by default.

The [default size of the desktop client has been increased](https://foss.heptapod.net/tryton/tryton/-/commit/be9910c8c78554c6b0eb6f0e47380e765978953d).

When trying to assign shipments or productions, all the documents that [can be fully assigned are now assigned](https://foss.heptapod.net/tryton/tryton/-/commit/d4c18ea3f86bbbeeb019e767e214fc4c08a6fe86) instead of being all or nothing.

We [notify users when they configure a product that is to be supplied on sale but which also has a purchase order point configured](https://foss.heptapod.net/tryton/tryton/-/commit/3a0bb94e297a105f1225c44ed8e953712efb46c9).

The [sale, purchase, commission and stock report records can now be searched by name](https://foss.heptapod.net/tryton/tryton/-/commit/fb57f3722193359d708fb9437c64ef06e7864a39).

## New Modules

## Changes for the System Administrator

The [weekly and monthly timesheet reports now also have access rules](https://foss.heptapod.net/tryton/tryton/-/commit/45f98c34bca0a50556f8a276caf89a6f4f8b6394). The supervisor now has access to the timesheet reports for the employees he supervises.

The [production now automatically creates stock lots](https://foss.heptapod.net/tryton/tryton/-/commit/11d9848aa118416ece34bd133b6420074370eb17) for output products that require one and that have a sequence configured.

## Changes for the Developer

Tryton will now warn when [foreign relation records must be saved implicitly](https://foss.heptapod.net/tryton/tryton/-/issues/11381). This is to enforce a design pattern which groups together saving for performance.

Tryton [no longer validates the domain for empty fields](https://foss.heptapod.net/tryton/tryton/-/merge_requests/10). This simplifies domain definitions for fields that are not required, as they do not need to care about the case when a field is empty. As side effect the clients don’t enforce the uniqueness of values in non-required fields.

The client now considers [a domain that uses the `in` clause with a single value to be a unique value](https://foss.heptapod.net/tryton/tryton/-/issues/11953).

The [`target_search` attribute of `Many2One` fields has been removed](https://foss.heptapod.net/tryton/tryton/-/merge_requests/24) in favor of an automatic decision based on the number of rows in the target table.

The [ORM now uses the `EXIST` operator instead of `IN`](https://foss.heptapod.net/tryton/tryton/-/issues/11934) to search on `One2Many` fields when the target table has many rows.

Any needed [tables are now locked at the beginning](https://foss.heptapod.net/tryton/tryton/-/issues/10870) of the transaction. This guarantees that the latest values are read from the table. This is managed automatically by restarting the transaction if a table lock is requested during the execution of the code.

We added [support for different types of borders on images and icons](https://foss.heptapod.net/tryton/tryton/-/issues/11458) (but only for the web client).

The [warehouse locations are now stored on the shipments](https://foss.heptapod.net/tryton/tryton/-/commit/6efb7bc9d60f4dc5b36ee8caf344ee01a887f08f) at the point the are created. This ensures that the domain based on them stays valid during the whole life of the shipment.

The [cookiecutter template is now included in the monorepo](https://foss.heptapod.net/tryton/tryton/-/commit/883fa6d78adb177b4c6a5ce76b4e1bafd6c2b2a4). This allows it to be versioned by series.

New [exceptions have been added to stop the transaction but still return a result](https://foss.heptapod.net/tryton/tryton/-/commit/35ed4aa50b16ddcd8dc5b748082aef62f41232db). This result can be an action for the client to launch.

To speed-up loading a list of records, the [clients can now retrieve in the read call the string to display for selection fields](https://foss.heptapod.net/tryton/tryton/-/commit/2763339d88d5b9b7f8d3fbc821e99c854eec8248).

---

<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 2, 2023, 12:00am UTC](https://discuss.tryton.org/t/newsletter-february-2023/5848/2 "2023-02-02T00:00:28Z")

</div>



---

<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, 2023, 7:01am UTC](https://discuss.tryton.org/t/newsletter-february-2023/5848/3 "2023-03-03T07:01:17Z")

</div>

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