/py-trytond-account-statement, Account statement module of the Tryton application platform
4.2.0, Package name:
py27-trytond-account-statement-4.2.0, Maintainer: pkgsrc-users
The account_statement module of the Tryton application platform.
Required to run:
] Required to build:
Version history: (Expand)
- (2016-12-05) Updated to version: py27-trytond-account-statement-4.2.0
- (2015-11-22) Updated to version: py27-trytond-account-statement-3.8.0
- (2015-08-24) Updated to version: py27-trytond-account-statement-3.6.0
- (2015-03-15) Updated to version: py27-trytond-account-statement-3.4.0
- (2014-06-25) Package added to pkgsrc.se, version py27-trytond-account-statement-3.2.0 (created)
CVS history: (Expand)
| 2016-12-04 22:13:09 by Blue Rats | Files touched by this commit (409) | |
It's time to make Tryton great again. This update is YUGE. There are 71
new packages. Most of which are the remaining modules of the Tryton
platform which weren't packaged. The others are dependencies of the new
modules. This was tested on FreeBSD and is based in large part on Richard
Palo's (richard@) work. This is the most recent release of the Tryton
platform, version 4.2. There's a very large list of changes from the 3.8
series we have in pkgsrc. If you're interested, those functional changes
can be found here:
| 2015-11-22 09:05:10 by Richard PALO | Files touched by this commit (87) |
New Tryton release 3.8
Major changes for the developer
The progress bar widget works with float between 0 and 1 to ease usage as
The rich text widget uses now a subset of HTML to allow its implementation
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
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
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.
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.
Conversion between units no longer results in silent failures but an
explicit error is risen.
The volume property has been added to the products.
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
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.
Many unnecessary restrictions on the edition of move fields have been
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).
| 2015-11-03 01:12:16 by Alistair G. Crooks | Files touched by this commit (49) |
Add SHA512 digests for distfiles for finance category
Existing SHA1 digests verified, all found to be the same on the
machine holding the existing distfiles (morden). Existing SHA1
digests retained for now as an audit trail.
| 2015-08-24 16:49:45 by Richard PALO | Files touched by this commit (44) | |
Updates and additions to release 3.6
details found here (http://www.tryton.org/posts/new-tryton-release-36.html)
Major changes for the developer
It is now allowed to have many times the same field in list/tree view.
There is no more a datetime widget for list/tree, two columns with one
widget date and one widget time should be used instead.
A new field TimeDelta appears in this release to represent a duration. It
replace the float_time widget which had some rounding issue. This new
field is already used in the timesheet and project modules.
The One2Many widget can be configured to use a Cartesian product with the
selections of many values for Many2One or Reference fields.
A method restore_history_before is added to ModelSQL which behaves like
the existing restore_history but restore the records just before the \
The on_change methods have been migrated to a behaviour more consistent
with the Active Record Pattern used in Tryton. Instead of returning a
dictionary with the values to change, now the instance is directly changed.
This allow to chain easily the on_change methods or reuse them in other
methods reducing the duplication.
The method save on ModelStorage is now a dualmethod which means that it
can be called as usual as an instance method but also as a class method
with a list of records. Saving many records at once this way improves the
performance as the method will minimize the number of queries to the
database and will validate the result by bunch.
The Dict field received a translated method to create descriptors which
translate the values or the keys like the same method on Selection field.
It is now allowed to use the dotted notation in the order clause of a search.
The ORM will automatically generate the needed joins.
The API of the Report class has been reworked to improve the customization
of the engine. The formatting methods are now more strict to prevent silent
The safe_eval (which was not sure to be safe) has been completely removed.
In the places where the evaluated code was any way safe, the standard eval
is used. For evaluated code from outside, a JSON notation is now used. Some
utilities have been developed to ease the creation of JSON from XMl or in
A new kind of button has been added which works on non-saved record. They
are quite similar to on_change but they are triggered by a click on a
button instead of a change of field.
A new method reverse_compute has been added to Tax which allow to compute
the base amount from the taxed amount.
The sign of the second currency amount is enforced to be the same as
debit - credit.
The analytic account management has been reworked to use a really One2Many
instead of the pseudo-field. This simplification was possible thanks to the
recent new features like the usage of Reference field on One2Many.
The vat number is now stored in its compact format.
The number of decimal for internal price calculations is now a configuration
parameter price_decimal. This parameter is used everywhere to ensure
consistency between all modules.
Their lines support both mixed invoice type (Invoice vs Credit Note) per
line when computing the invoiced quantity.
A new state staging is added to the move. Such state doesn't impact at all
the computation of the stock level. It is used for supply on sale, to
create moves in advance.
Inactive products are still computed for the stock level.
The computation of assigned move has been improved to take only in
consideration outgoing move assigned not the incoming. This result in a
less optimistic for the stock level and thus prevent to assign a move with
an incoming one that is just assigned but not yet done.
Forecasts are now automatically deactivated when their period is in the past.
pkgsrc related updates:
update to tryton-3.6.0
update to trytond-3.6.0 including UTC check patch for SunOS
update trytond modules to latest 3.6
| 2015-03-15 01:17:36 by Blue Rats | Files touched by this commit (62) |
Apply modified patch sent by palo@ in private mail. This brings all these
packages to version 3.4.x. May this not break anything (although i feel it