diff options
author | richard <richard@pkgsrc.org> | 2015-08-24 14:49:41 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2015-08-24 14:49:41 +0000 |
commit | a6391d3011f225dddd0be66a512c7fbfdae4e1e6 (patch) | |
tree | 9d969fc13e6ce35eb1e939efc99003ba2a2eb226 /misc/py-trytond-party-relationship | |
parent | 9329fa87925b2e4bd5db35c9e0f8328ab019e677 (diff) | |
download | pkgsrc-a6391d3011f225dddd0be66a512c7fbfdae4e1e6.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 'misc/py-trytond-party-relationship')
-rw-r--r-- | misc/py-trytond-party-relationship/DESCR | 1 | ||||
-rw-r--r-- | misc/py-trytond-party-relationship/Makefile | 20 | ||||
-rw-r--r-- | misc/py-trytond-party-relationship/PLIST | 35 | ||||
-rw-r--r-- | misc/py-trytond-party-relationship/distinfo | 5 |
4 files changed, 61 insertions, 0 deletions
diff --git a/misc/py-trytond-party-relationship/DESCR b/misc/py-trytond-party-relationship/DESCR new file mode 100644 index 00000000000..e504ba8f640 --- /dev/null +++ b/misc/py-trytond-party-relationship/DESCR @@ -0,0 +1 @@ +The party relationship module of the Tryton application platform. diff --git a/misc/py-trytond-party-relationship/Makefile b/misc/py-trytond-party-relationship/Makefile new file mode 100644 index 00000000000..969747c4902 --- /dev/null +++ b/misc/py-trytond-party-relationship/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2015/08/24 14:49:44 richard Exp $ +TRYTON_MODULE_NAME= trytond_party_relationship +.include "../../devel/py-trytond/Makefile.common" +CATEGORIES= misc python + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.tryton.org/ +COMMENT= Party relationship module of the Tryton application platform +LICENSE= gnu-gpl-v3 + +DEPENDS+= ${PYPKGPREFIX}-trytond-party-[0-9]*:../../misc/py-trytond-party +DEPENDS+= ${PYPKGPREFIX}-trytond-[0-9]*:../../devel/py-trytond + +USE_LANGUAGES= # none + +REPLACE_PYTHON+= tests/test_party_relationship.py + +.include "../../lang/python/application.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/py-trytond-party-relationship/PLIST b/misc/py-trytond-party-relationship/PLIST new file mode 100644 index 00000000000..6fbfbb8112a --- /dev/null +++ b/misc/py-trytond-party-relationship/PLIST @@ -0,0 +1,35 @@ +@comment $NetBSD: PLIST,v 1.1 2015/08/24 14:49:44 richard Exp $ +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/trytond/modules/party_relationship/__init__.py +${PYSITELIB}/trytond/modules/party_relationship/__init__.pyc +${PYSITELIB}/trytond/modules/party_relationship/__init__.pyo +${PYSITELIB}/trytond/modules/party_relationship/locale/ca_ES.po +${PYSITELIB}/trytond/modules/party_relationship/locale/de_DE.po +${PYSITELIB}/trytond/modules/party_relationship/locale/es_AR.po +${PYSITELIB}/trytond/modules/party_relationship/locale/es_CO.po +${PYSITELIB}/trytond/modules/party_relationship/locale/es_EC.po +${PYSITELIB}/trytond/modules/party_relationship/locale/es_ES.po +${PYSITELIB}/trytond/modules/party_relationship/locale/fr_FR.po +${PYSITELIB}/trytond/modules/party_relationship/locale/sl_SI.po +${PYSITELIB}/trytond/modules/party_relationship/party.py +${PYSITELIB}/trytond/modules/party_relationship/party.pyc +${PYSITELIB}/trytond/modules/party_relationship/party.pyo +${PYSITELIB}/trytond/modules/party_relationship/party.xml +${PYSITELIB}/trytond/modules/party_relationship/tests/__init__.py +${PYSITELIB}/trytond/modules/party_relationship/tests/__init__.pyc +${PYSITELIB}/trytond/modules/party_relationship/tests/__init__.pyo +${PYSITELIB}/trytond/modules/party_relationship/tests/test_party_relationship.py +${PYSITELIB}/trytond/modules/party_relationship/tests/test_party_relationship.pyc +${PYSITELIB}/trytond/modules/party_relationship/tests/test_party_relationship.pyo +${PYSITELIB}/trytond/modules/party_relationship/tryton.cfg +${PYSITELIB}/trytond/modules/party_relationship/view/party_form.xml +${PYSITELIB}/trytond/modules/party_relationship/view/relation_form.xml +${PYSITELIB}/trytond/modules/party_relationship/view/relation_tree.xml +${PYSITELIB}/trytond/modules/party_relationship/view/relation_type_form.xml +${PYSITELIB}/trytond/modules/party_relationship/view/relation_type_tree.xml diff --git a/misc/py-trytond-party-relationship/distinfo b/misc/py-trytond-party-relationship/distinfo new file mode 100644 index 00000000000..f0fd891ec2f --- /dev/null +++ b/misc/py-trytond-party-relationship/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/08/24 14:49:44 richard Exp $ + +SHA1 (tryton-3.6/trytond_party_relationship-3.6.0.tar.gz) = 4b2a6963bb5fad42b7e71d2c489d30a8902b2094 +RMD160 (tryton-3.6/trytond_party_relationship-3.6.0.tar.gz) = 493337f888f466990dfbc1aa2acd3c83a3fa03a2 +Size (tryton-3.6/trytond_party_relationship-3.6.0.tar.gz) = 22791 bytes |