Tryton Release 6.4

We are proud to announce the 6.4 release of Tryton.
This release provides many bug fixes, performance improvements and some fine tuning. What is also remarkable is the addition of 9 new modules.
You can give it a try on the demo server, use the docker image or download it here.
As usual migration from previous series is fully supported. No manual operations are required.

Here is a list of the most noticeable changes:

Changes for the User

It is now possible for modules to display a notification message from the server while user is filling a form. This is already used by the sale_stock_quantity module to display a message when user select a product with not enough forecast quantity.

Users can now choose which optional columns are display on the list or tree views. All modules have been reviewed to make optional none essential columns and thus provide a lean interface by default.

Some views can now be used for edition but not creation of new record. This can be used for example to set an editable list for modification but creation must always go through the form.

The CSV import now skip empty rows inside One2Many. It is now possible to import many One2Many fields in the same file but with different length.

The CSV import error messages have been improved to include the model, field an column. This eases the task of solving problems.

More (click for more details)

Web Client

The reference fields can now be opened from the list and tree views like the Many2One. They are rendered as a link which open a new tab with the form of the target.

Desktop Client

The CSV export encoded in UTF-8 include by default the Byte Order Mark to increase compatibility with other systems.

The multi-selection widget uses now the same default selection behavior as other list. This solves inconsistency in the behavior.

Accounting

The reconciliation wizard has now an option to automatically reconcile the default suggestions. This speed up the process for accounting with a lot of entries when the system is well configured.

Similar to the debit type, we now have also an optional credit type on account. Of course an accountant can only have one optional debit or credit type.

The general ledger displays now by default only the debit/credit columns only when there are actually lines in the account for the period. And it display the number of lines.

We now use the invoice date (instead of the accounting date) to enforce the sequence order of the customer invoice. This is more flexible and still valid with most country rules.

When validating interactively a supplier invoice with the same reference as an existing one, Tryton raises a warning because it could be that the user is entering the same invoice twice.

Now lines in a payable or receivable account can only be added to a payment if they have a maturity date. This avoid to create payment for pure accounting lines.

The receivable payments can now be processed without the need of being approved first but just being submitted. This simplify the workflow of receiving payments like checks where there is no need for a second approval.
It is also now possible to edit the amount of a processing payment. This is because sometimes we can read a different amount on a check than what the bank will read.

We do no more create dunning for lines with a pending payment.

It is no more possible to select reconciled payment or group when entering a statement. This simplify the selection task for the user and for the rare case where he needs to select such payment, he can still unreconcile before selection.

The clearing line of a payment is now automatically reconciled with all the statement lines linked to it.

The user can now choose the allocation method to apply to shipment cost.

More (click for more details)

Banking

Tryton can now fill or create the related bank from an IBAN.

When searching for a bank name, Tryton is also searching on the BIC.

Party

The country name on a printed address is always in English following the international standard.

The SIREN and SIRET codes are now managed as identifiers on the party.

A party identifier can now be linked to an address of the party. The SIRET number uses this new feature.

The “autonomous city” are now allowed as subdivision for Spain.

All the lines of the street are used now for the record name of an address.

Product

It is now forbidden to decrease the number of digits of a unit of measure. This prevents to make invalid existing quantity linked to this unit.

We warn now user who try to deactivate a product that still has stock.

Production

The stock move form shows now also the optional linked production.

Purchase

It is now possible to define a default currency for each supplier.

Sale

It is now possible to define a default currency for each customer.

The origin name of invoice line for advance payment is now filled with the advance payment condition name.
The advance payments are now recalled with a negative quantity instead of a negative price.

The opportunities reports are now using a real date field to display the month instead of two field year and month. This improve the search possibilities.

The sales made by POS are now included in the general sale reports.

When registering a cash change with the POS, we use negative debit or credit in the accounting. This prevents to increase artificially the sum.

A notification is now display directly when the user enter in a sale a goods with not enough forecast quantity.

Stock

Tryton recomputes now also the cost price on the moves of drop shipments.

The assignation process is now using the lot number as criteria if it is filled.

The upward and downward traces have been added to the stock lot for traceability.

It is now possible to select the UPS notification service.

The forecasts are now applied for all the stock supplies instead of only the purchase requests.

More (click for more details)

Web Shop

Tryton now support the edition of the orders from Shopify.

New Modules

Account Spanish SII

The Account Spanish SII Module allow to send invoices to the SII portal. This is legal requirement for some Spanish Companies.

Account Invoice Watermark

The Account Invoice Watermark Module adds a draft or paid watermark to the printed invoice.

Account Receivable Rule

The Account Receivable Rule Module defines rules to reconcile receivable between accounts.

Account Stock Shipment Cost Weight

The Account Stock Shipment Cost Weight Module adds the “By Weight” as allocation method on shipment cost.

Account Tax Non-Deductible

The Account Tax Non-Deductible Module allows to define non-deductible taxes and reports them.

Purchase Product Quantity

The Purchase Product Quantity Module permits to enforce the minimal and the rounding of quantity purchased per supplier from purchase request.

Sale Invoice Date

The Sale Invoice Date Module fills the invoice date of invoices created by sales.

Sale Product Quantity

The Sale Product Quantity Module permits to enforce the minimal and the rounding of quantity sold per product.

Stock Shipment Cost Weight"

The Stock Shipment Cost Weight Module adds “By Weight” as allocation method of shipment cost on the carrier.

Changes for the System Administrator

The CORS configuration is now also applied to the root path.

Tryton retries now automatically to send email on temporary failure status.

We removed the password validation based on entropy. It was not a good measurement for robustness of password.

The login methods receive the options ip_address and device_cookie.

Country

The script to load postal codes is using the Tryton CDN for more reliability.

We support now pycountry 22.1.10.

Changes for the Developer

We use now the unittest discover method to replace the deprecated test command from setuptools.

The documentation contains now a tutorial to create a Tryton module.

The models have now a on_change_notify method to display on the client messages while user is filling the record.

The ModelStorage has now a validate_fields method which permit to apply some validation only if specific fields have been modified. This is useful if the validation is expensive. All the modules have been reviewed to take advantage of this new validation method.

The depends on Field are now python set. But also it is no more needed to define the depends for the states, domain and digits _expression_. Tryton computes them automatically. It is still needed for the context if you want to be sure that it will always be set.

We include in the view only the depend fields that are needed for the type of view (editable or not).

We prevent to create or delete singleton. The corresponding actions are disabled in the clients.

The Reference fields uses dictionary for domain and search_order. The keys are the name of the target model.

It is possible to define a field on a tree view as optional. The user will have the choice to display it or not.

The creatable attribute on the tree and form views allow to define if the view can be used to create new record. If not the client will switch to another view with the capability.

The local cache of instances created by Function fields are now filled with the already read values. This speed up the computation of the fields.

The value of Function fields are now cached for the transaction if it is readonly.

We use JSONB column type to store Dict fields on PostgreSQL backend.

More (click for more details)

Web Client

We use now ECMAScript version to 6.

Desktop Client

We added an option to define logging output location.

Accounting

A date must always be set to compute taxes.

We enforce the same type for the children of an account with a type set.

A unique Reference field is now used to on the statement line instead of multiple Many2One.

More (click for more details)

Banking

We enforce the uniqueness of IBAN and permit only one per bank account.

More (click for more details)

Country

The script to load subdivision does not fail any more on unknown subdivision type.

Web Shop

A route has been added to support the Shopify webhook for orders. This allow to synchronize the orders quicker.

We removed the API backoff time and support the request retry using the Shopify Retry-After header.

We modify only the metafields managed by Tryton.

1 post - 1 participant

Read full topic

Reply via email to