summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2015-08-24 14:49:41 +0000
committerrichard <richard@pkgsrc.org>2015-08-24 14:49:41 +0000
commit1471cee78d905aeaab4e28773c5c3982e1f52147 (patch)
tree9d969fc13e6ce35eb1e939efc99003ba2a2eb226 /geography
parent8bfc1c3fdbb0f1efa8d11fabe23e3caea78107b8 (diff)
downloadpkgsrc-1471cee78d905aeaab4e28773c5c3982e1f52147.tar.gz
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 datetime. 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 failure. 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 the views. 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. Accounting 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. Party The vat number is now stored in its compact format. Product 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. Purchase/Sale Their lines support both mixed invoice type (Invoice vs Credit Note) per line when computing the invoiced quantity. Stock 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 add meta-pkgs/py-tryton-platform add misc/py-trytond-party-relationship add misc/py-trytond-product-attribute add misc/py-trytond-production add misc/py-trytond-stock-inventory-location add misc/py-trytond-stock-product-location add finance/py-trytond-account-invoice-line-standalone add finance/py-trytond-account-invoice-history add finance/py-trytond-account-invoice-stock add finance/py-trytond-account-payment-clearing add finance/py-trytond-account-stock-continental add finance/py-trytond-analytic-invoice add finance/py-trytond-analytic-purchase add finance/py-trytond-analytic-sale add finance/py-trytond-product-price-list add finance/py-trytond-product-cost-fifo add finance/py-trytond-product-cost-history add finance/py-trytond-purchase add finance/py-trytond-purchase-invoice-line-standalone add finance/py-trytond-sale add finance/py-trytond-stock-supply add time/py-trytond-company-work-time
Diffstat (limited to 'geography')
-rw-r--r--geography/py-trytond-country/distinfo8
1 files changed, 4 insertions, 4 deletions
diff --git a/geography/py-trytond-country/distinfo b/geography/py-trytond-country/distinfo
index 58cd5c66e82..e30461bb6f7 100644
--- a/geography/py-trytond-country/distinfo
+++ b/geography/py-trytond-country/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2015/03/15 00:17:35 rodent Exp $
+$NetBSD: distinfo,v 1.4 2015/08/24 14:49:43 richard Exp $
-SHA1 (tryton-3.4/trytond_country-3.4.1.tar.gz) = e6c3c2052596e0568df485072bf24936340e2d64
-RMD160 (tryton-3.4/trytond_country-3.4.1.tar.gz) = fa5e1de7fbe71d3bd3479128c0b37c80f8d05213
-Size (tryton-3.4/trytond_country-3.4.1.tar.gz) = 1004548 bytes
+SHA1 (tryton-3.6/trytond_country-3.6.0.tar.gz) = 15428c6c2dfd02d5acd2aa6b3430acf928b1beaf
+RMD160 (tryton-3.6/trytond_country-3.6.0.tar.gz) = 8003b1641eecce982786d812e0cc445ebb67ecf8
+Size (tryton-3.6/trytond_country-3.6.0.tar.gz) = 1004156 bytes