Path to this page:
Subject: CVS commit: pkgsrc
From: Richard PALO
Date: 2015-11-22 09:05:10
Message id: 20151122080510.E903098@cvs.netbsd.org
Log Message:
New Tryton release 3.8
http://www.tryton.org/news/index.html
Major changes for the developer
The progress bar widget works with float between 0 and 1 to ease usage as
percentage.
The rich text widget uses now a subset of HTML to allow its implementation
in sao.
The Many2One has a new option target_search which define the kind of query
to use for dereferenced search. The options are subquery and the new join
(which is the default). The join method generate a faster query in most
cases.
The SQL constraints use a similar syntax to python-sql. This gives more
flexibility to implement backend for other databases.
Trying to create/write/delete on a Model based on a table_query raises an
exception instead of a silent error.
The table name of a ModelSQL can be overridden with a configuration file.
This allows to work around database limitations on the length of table
names.
The new StateReport has been added to wizards, to simplify the code of
wizards that run a report.
The style on reports has been removed, experience show that this feature
was not used.
The PostgreSQL backend manages now schema. This allows different instances
of Tryton sharing the same database.
The generic foreign key to create/write user on all ModelSQL has been
replaced by a rule that prevent to delete users. This greatly improves
scalability in some circumstances.
The Property field supports now float and integer values.
A subdirectory locale/override is supported for modules that override
translations of other modules.
Accounting
The charts of account are no longer translatable. Instead we provide
translated charts via a template using XSLT.
The invoice doesn't set a unit price on the line. For this feature the
purchase or sale module must be used.
Some fields of the invoice like the note and the origin are editable after
posting the invoice.
Product
Conversion between units no longer results in silent failures but an
explicit error is risen.
The volume property has been added to the products.
Project
The tree structure of the project and the time sheet have been separated,
each object has its own one.
The price list uses the same decimal precision as the product.
The cost price of the employee is stored on the time sheet line for the
date of the line. This allows to sum the costs of time sheet faster
Purchase
The state of the purchase request is now searchable.
The purchase requests are generated even if the rounded quantity is zero
to allow the user to still decide to purchase more.
Stock
Many unnecessary restrictions on the edition of move fields have been
removed.
The expected quantity of the inventory lines is always computed even if
they are added manually.
It is possible to create staging and draft moves using view locations.
Those locations will have to be changed to really do the move.
The inventory uses the grouping feature to create the moves. This allows
to easily support the lot (or any other extra field).
Files: