Newsletter July 2023

In the last month we fixed bugs, speed-up performance issues and added new features.
With the release of branch 6.8 we merged the latest changes to the 6.4 branch and closed it afterwards. Branch 6.4 is no longer maintained by the Tryton project.
We also released bug fixes for the maintained series 5.0, 6.0, 6.6 and 6.8.

Changes for the User

Sales, Purchase and Project

The sale and purchase amendment fields are now displayed when an order transitions into processing state, to allow the creation of amendments directly.

Depending on the complexity of an order, users sometimes wanted to have a different delay for the state change to processing in sale and purchase, which is now possible.

The invoiced amount of a project work is calculated with the quantity from timesheet lines or invoiced progress of the involved works. Now it is required, that the quantity of the invoice line is equal to the quantity on the project works and it is forbidden to change the quantity of an invoiced project.

Accounting, Invoicing and Payment

Now it is allowed to edit the supplier invoices reference in non draft states.

When deferring an invoice with an analytic setup the analytic account is now also deferred.

Now Tryton asks for a date when creating an account move from a template.

Now we show the reconciliation lines of an invoice in state cancelled, because when it is refunded with a credit note, it is cancelled instead of paid.

As it is very useful to get the total of waiting balances, we add the sum to aged balance term and balance.

Stock, Production and Shipment

The shipments now support locations of type view as storage location in their warehouses.

Now we display the cost of production works.

We allow to search inventory also by location. This is useful when having a warehouse with a lot of locations.

User Interface

Now we validate and normalize email addresses and convert them to ASCII to avoid user input mistakes.

Master Data and Configuration

Now we allow to use the current date as substitution in the sequence fields prefixand suffix formatted using the strftime-format. Instead of prefixing with the strftime-format code with (%) we use an underscore (_). E.g. the formatting code ${date_Y} will be replaced by the year of the actual date.

Changes for Implementers and Developers

We added a sum_tree helper method which is a common pattern which can be unified and reused.

At the start of a transaction we check if a used table is locked. Otherwise we raise a TransactionError and the transaction will be restarted with the table added to the list of tables to lock. This ensures that we always read the last committed values when a table is locked.

In some use cases a Function field could be simply written as a SQL-_expression_ with only the SQL-statement, but without the usual getter or searcher. The new field type SQLExpression behaves like a Function-field, but only the SQL-statement needed to be defined.

We changed the logging process of the dispatcher by using a lazily evaluated object, which will shorten huge structures that could appear in the log.

Authors: @dave @pokoli @udono

1 post - 1 participant

Read full topic

Reply via email to