Up to [cvs.NetBSD.org] / pkgsrc / devel / py-tryton
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
(devel/py-tryton) Updated 4.2.1 to 6.2.0, I'll adjust other childrens later Version 6.2.0 - 2021-11-01 * Bug fixes (see mercurial logs for details) * Support grouping attribute * Support monetary and symbol field attributes * Support digits from relation field * Allow PYSON Expression as key for PYSON In with dict object * Support Binary field in CSV import/export Version 6.0.0 - 2021-05-03 * Bug fixes (see mercurial logs for details) * Support printing zip archive * Add direct print to UNIX * Add attachment preview * Support document widget * Support icon of type URL * Allow sending email with existing attachments * Add paths and model context to action data * Add indentation in CSV export of tree * Manage which records to use for actions * Handle device cookie * Add breadcrumb as title of window form * Display revision on dialog * Execute report asynchronously * Add support for Python 3.9 * Support empty value for timedelta converter * Add interactive search on tree view * Unify PYSON string format Version 5.8.0 - 2020-11-02 * Bug fixes (see mercurial logs for details) * Remove support for Python 3.5 * Format timedelta in CSV export * Manage symbol widget * Fallback to model name as title * Manage deletable and writable state * Support e-mail template * Send e-mail via the server * Support PYSON comparison of date and datetime * Position copied records based on order * Allow configuration of default colors for graph and calendar * Use existing context for get_preferences * Add context to export URL Version 5.6.0 - 2020-05-04 * Bug fixes (see mercurial logs for details) * Support link button on form * Add URL for the current export * Add option to export listed records * Retire App Menu * Add support for Python 3.8 * Manage readonly dates in calendar view * Manage editable on calendar view * Manage model access on calendar view * Set client title at the end of header bar * Manage named separator as label * Add MultiSelection entry to Dict field * Position new record based on order * Allow relation field to be selected in CSV export * Support validate attribute of wizard's Button Version 5.4.0 - 2019-11-04 * Bug fixes (see mercurial logs for details) * Support visual context on tree view * Support multiselection field * Support dot notation on PYSON Eval * Order Dict keys by sequence * Support relation fields in domain parser * Add Dict widget for tree view * Add handle to reordable line of tree views Version 5.2.0 - 2019-05-06 * Bug fixes (see mercurial logs for details) * Add domain inversion for reference fields * Add list-form view * Remove support for Python 3.4 * Replace ColorSelectionDialog by ColorChooserDialog * Support HTML widget * Use locale format for data import and export * Add day view on calendar * Add CSV exports into print toolbar * Display unread and total of notes * Support badge on icon * Use resources method * Replace Arrow by Image * Remove Fast Tabbing option * Remove usage of focus_chain * Add shortcuts for switch and remove on One2Many * Rename roundup.url configuration to bug.url * Remove send error to bug tracker * Replace Table by Grid * Use separate XML parser in Views * Use between numbers in filter box * Rename email and calendar file * Use markup for styling * Replace ImageMenuItem by MenuItem * Replace ComboBoxEntry by ComboBox or ComboBoxText * Replace GObject.idle_add by GLibe.idle_add * Remove positional arguments for PyGObject * Remove pygtkcompat * Implement Reference cell with Selection and Many2One cells * Replace CellRendererBinary with clickable pixbuf cells * Allow cell to have multiple renderers * Fill 'to' with 'from' value on filter box * Add tab domain in URL * Use Popover for search filter * Display version on login dialog * Use tab key for tab navigation * Use ShortcutsWindow * Improve default size of widgets and dialog * Use record and field properties of widget instead of method arguments * Reduce offset when no search result * Ensure URL scheme of bus (issue7792) * Add drag & drop support on binary widget Version 5.0.0 - 2018-10-01 * Bug fixes (see mercurial logs for details) * Use dropdown for attachment * Apply factor on domain parser * Use tab name in CSV Export/Import * Add bus management * Use CSS to style label * New icons * Support timestamp field * Add support for Python 3.7 * Use GtkApplication * Validate dictionary items * Add (i)like support to domain inversion * Use Python 3 * Improve loading strategy by using views * Use non conflicting keyboard shortcuts in sync with sao * Use the context to get the suffix of window name * Call on_change methods after setting default dtstart on calendar view Version 4.8.0 - 2018-04-23 * Bug fixes (see mercurial logs for details) * Manage active field on search widget * Reset record to its original state when discarding the popup window * Add support of expand attribute on group tag * Add the context model name in the screen context * Use limit to expand tree * Add keyword attribute to button tag * Support field name on image tag * Add option to check new version * Show related record names for all windows * Remove support of GTK+ 2.0 * Add icons on Many2One in editable tree * Use translated values when exporting Reference and Selection fields Version 4.6.0 - 2017-10-30 * Bug fixes (see mercurial logs for details) * Allow to export model and record name of Reference fields * Re-position buttons on Binary/Image widget * Improve treeview headers * Update states of both toolbar and menu * Improve toolbar order * Make readonly, required and invalid widget themable * Load user CSS theme * Use profile name or login details in title Version 4.4.0 - 2017-05-01 * Bug fixes (see mercurial logs for details) * Verify certificate with default CA * Replace URL entry by a toolbar button
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
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).
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
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 to latest release, 3.2.0. Move bin/tryton to bin/tryton${PYVERSSUFFIX} in post-install to support concurrent installed python versions. From CHANGELOG: * Bug fixes (see mercurial logs for details) * Add option to show revisions * Add a multi selection widget for many2many * Remove auto-refresh * Add support of domain for non-relation field * Allow drag & drop on the attachment button * Replace sha widget by password * Add Len to PYSON * Use a pool of connection * Manage client actions from button and wizard * Add tree_invisible attribute to button in tree view * Add buttons of the view in actions menu * Don't evaluate anymore relate action with the record * Paste on editable list create new records if needed * Drop support of Python 2.6 * Allow to search on rec_name of Reference fields * Use local timezone * Sanitize report file extension
Import py27-tryton-3.0.2 as devel/py-tryton. Tryton is a three-tiers high-level general purpose application platform under the license GPL-3 written in Python and using PostgreSQL as database engine. It is the core base of a complete business solution providing modularity, scalability and security.