Up to [cvs.NetBSD.org] / pkgsrc / devel / py-trytond
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: update for Python base package change Instead of depending on one of the removed packages (that are now included in the base Python packages), include batteries-included.mk to require a Python version that supplies them. Remove now included packages. Bump PKGREVISION.
python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-trytond: update options.mk and actually include it
py-trytond: make parallel-installable again, update ALTERNATIVES ride update
py-trytond: fix dependencies Fix distfile checksum. Finish update.
(devel/py-trytond) Updated 4.2.2 to 6.2.2
py-trytond: fix build with latest setuptools
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
Reset maintainer
Switch py-dateutils to plain DEPENDS. It supports both python 2 and 3 nowadays.
Update Tryton to 4.2.1. No aggregated changelog, but this fixes some bugs that I submitted upstream. Fix variable expansion in trytond's MESSAGE.
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
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: http://www.tryton.org/posts/new-tryton-release-42.html http://www.tryton.org/posts/new-tryton-release-40.html
Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided by the infrastructure. Mark a couple more packages as not ready for python-3.x.
Use OPSYSVARS.
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
Use correct bcrypt python module. Bump PKGREVISION.
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 might).
update devel/py-trytond to 3.2.2 Changelog as generated by Mercurial: 2014-08-03 Cédric Krier <ced@b2ck.com> o * CHANGELOG: | Prepare release 3.2.2 | [282f764285a6] [3.2.2] <3.2> | 2014-07-20 Cédric Krier <ced@b2ck.com> o * trytond/modules/__init__.py: | 'res' should be global in load_modules | | issue4045 (grafted from d1bf8bffed36b177685d2fa29dbe3608f85b5a79) | [ee24fb8ffbb1] <3.2> | o * trytond/tests/run-tests.py: | Exit run-tests with correct error code | | review7411002 (grafted from | ec915931bf69a18cc004d208064e14d159276972) | [bc4a4b150883] <3.2> | 2014-06-13 Cédric Krier <ced@b2ck.com> o * trytond/model/fields/numeric.py: | Fix SQLite Numeric domain value for None | | issue3930 review11281002 (grafted from | b7653d96ef050a23b8d600d0eaaa99745cd03b81) | [ed07a28cdd64] <3.2> | o * trytond/protocols/xmlrpc.py: | XML-RPC dumps None to nil instead of bool | | issue3981 review6351003 (grafted from | 851a0446f64dea53fcee27dce1ea16e6f06b7b46) | [78e787cd5cfc] <3.2> | 2014-06-08 Cédric Krier <ced@b2ck.com> o * trytond/model/fields/many2many.py, trytond/model/fields/many2one.py: | Ensure ids clause is a list for concatenation | | issue3949 review11281006 (grafted from | 4f0c0b43e6a70823126f76e8c814c4b60cdf2bb2) | [1f165de2a802] <3.2> | 2014-07-01 Cédric Krier <ced@b2ck.com> o * trytond/version.py: | Increase version number | [3f5aa86ffab6] <3.2> | o * .hgtags: | Added tag 3.2.1 for changeset f239ef8edd83 | [25bfbef89d0e] <3.2> | o * CHANGELOG: | Prepare release 3.2.1 | [f239ef8edd83] [3.2.1] <3.2> | 2014-06-06 Sergi Almacellas Abellana <sergi@koolpi.com> o * trytond/model/modelstorage.py: | Fix KeyError when raising digits validation error. | | issue3970 review8411002 (grafted from | 8d071b3c5c7e8c0d62469c0d94ac8056da1db6fb) | [5052bcaba02b] <3.2> | 2014-05-17 Cédric Krier <ced@b2ck.com> o * trytond/model/fields/field.py: | Fix joins when ordering on ir.model.field | | issue3910 review10311002 (grafted from | 5754ea65653441eace71fd814b75f2174fad1e70) | [e4c2d03b07e9] <3.2> | 2014-05-09 Cédric Krier <ced@b2ck.com> o * trytond/model/model.py: | Set relation_field of one2many only when exists | | The client use this value if it exists for string concatenation, so | having None fails. (grafted from | 070f4178a35b304b9e8f3e5e7f0a103621447dad) | [70d2adcc4bfa] <3.2> | 2014-04-21 Cédric Krier <ced@b2ck.com> o * trytond/version.py: | Increase version number | [b3364dd3b39d] <3.2> | o * Create branch 3.2 | [736df7691a44] <3.2> |
Add py-trytond/Makefile.common to simplify modules ok wiz@
Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise.
Update to latest release, 3.2.0. Move bin/trytond to bin/trytond${PYVERSUFFIX} in post-install to support concurrently installed versions of python. Upstream dropped support for py26. From CHANGELOG: * Bug fixes (see mercurial logs for details) * Add restore_history to ModelSQL * Add history revisions * Add the multi selection widget * Add index to one2many's on_change * Remove auto-refresh on Action Window * Add support of domain for non-relation field * Manage microseconds in JSON-RPC and XML-RPC * Remove Sha field * Add password widget * Add Len to PYSON * Use bcrypt to hash password if possible * Use a sequence of ids, values to set fields * Client side actions on button and wizard * Add depends attribute to data tag * Add tree_invisible attribute to button in tree view * Drop support of Python 2.6 * Deprecate on_change, on_change_with, selection_change_with and autocomplete field arguments * Add fields.depends decorator * Add run-tests * Validate only modified and dependant fields on model write * Improve error messages by showing the failing value * Remove relation field actions: - delete_all - unlink_all - set * Rename relation field action unlink into remove * Use a sequence of records, values in write * set_context of Transaction.set_user is restricted to root * Add a "copy" action to One2Many and Many2Many's set method * Force UTC as timezone (migration script available on tryton-tools) * Add relation_field for many2one
Version 3.0.4 - 2014-04-07 * Bug fixes (see mercurial logs for details) Version 3.0.3 - 2014-03-22 * Bug fixes (see mercurial logs for details)
Fix dependency pattern.
DEPENDS+=devel/py2app if OPSYS == Darwin.
Mark some stuff not available for python and use versioned_dependencies.mk, so that pbulk can finish a scan again.
Import py27-trytond-3.0.2 as devel/py-trytond. The server of the Tryton application platform, a three-tiers high-level general purpose application platform written in Python and uses PostgreSQL as main database engine. It is the core base of an Open Source ERP. It provides modularity, scalability and security.