Commit graph

24 commits

Author SHA1 Message Date
wiz
7235778e0a py-trytond-party: remove py-vatnumber dependency
The module is unmaintained upstream.
2021-12-06 13:54:58 +00:00
nia
28c1048bad misc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched
conditionally?):

./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
2021-10-26 10:58:55 +00:00
nia
60e6853f70 misc: Remove SHA1 hashes for distfiles 2021-10-07 14:35:11 +00:00
wiz
3fbe685807 py-tryton*: put python-2.7 restriction only in those packages where it belongs
(and the meta package)

Fix PLIST for py-trytond for all python versions.
2020-03-13 20:20:48 +00:00
rillig
b686dd9180 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.
2020-01-18 23:30:43 +00:00
rillig
191ad3f718 misc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 17:04:19 +00:00
adam
435af01a8b Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8 2019-09-02 13:19:35 +00:00
maya
5901ac0824 Omit mentions of python 34 and 35, after those were removed.
- Includes some whitespace changes, to be handled in a separate commit.
2019-04-26 13:13:41 +00:00
adam
a31bce9748 extend PYTHON_VERSIONS_ for Python 3.7 2018-07-03 05:03:01 +00:00
wiz
ef141a6b79 Reset maintainer 2017-09-16 19:26:41 +00:00
rodent
e30b53ad7d 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.
2017-01-10 23:07:41 +00:00
wiz
7f84153239 Add python-3.6 to incompatible versions. 2017-01-01 14:43:22 +00:00
rodent
a71bc063ac 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
2016-12-04 21:12:58 +00:00
wiz
1682c6507d 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.
2016-08-28 15:48:28 +00:00
richard
0bcf60db75 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).
2015-11-22 08:05:07 +00:00
agc
23064a80b9 Add SHA512 digests for distfiles for misc category
Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:49:31 +00:00
richard
b86d646729 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
2015-08-24 14:49:41 +00:00
rodent
0fae22cf16 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).
2015-03-15 00:17:34 +00:00
richard
8ea2e72493 Update trytond modules using py-trytond/Makefile.common
ok wiz@
2014-06-25 06:05:32 +00:00
wiz
c1b44346cd Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
2014-05-09 07:36:53 +00:00
joerg
e475b31086 Python 2.6 is not supported by py-tryton. 2014-05-05 22:58:40 +00:00
rodent
6d029ab2b8 Updated to latest release, 3.2.0. From CHANGELOG:
* Bug fixes (see mercurial logs for detail
2014-05-03 13:32:42 +00:00
rodent
de8228ec61 Mark as PYTHON_VERSIONS_INCOMPATIBLE=33 according to setup.py 2014-02-01 18:51:07 +00:00
rodent
26eabe4c49 Import py27-trytond-party-3.0.0 as misc/py-trytond-party.
The party module of the Tryton application platform.
2014-02-01 18:26:44 +00:00