News from Development July13

Опубликовано: 2013-07-08 12:00:00+00:00 development

Here are some changes recently landed in the development branch of Tryton that will be available on the next release.


  • A factor on number widgets. This factor is used for conversion between the value displayed and the internal value. The main usage is showing the user a percent value like 10%, while storing 0.1.

  • The requests have been removed. Instead the server sends emails to notify users and thanks to the Tryton URL users are able to communicate about specific records by referencing them. This also removes load on the server as each client was polling every 5 minutes for new requests.


  • A new kind of view has been added: calendar. It allows to display records on a calendar using ane start and/or an end date/datetime fields. It is based on the widget GooCalendar. It supports the Drag&Drop of events, the edition on double-click and it fetches only the events to display.

    production calendar
  • Since the version 2.0, Tryton has a URL scheme that the client can read. But in the past there was no easy way for the user to get the URL of a record. Now the URL is visible at the bottom of each tab. It contains all information to open the same tab on any other client.




  • Now any move posted with one line of zero is automaticaly reconciled if it is on an account to reconcile. With this feature, invoices with an amount of zero are automatically marked as paid.
  • A legacy of OpenERP, the centralised counterpart option on journal, has been removed after a poll that shows nobody was using it.

Account Invoice

  • Once an invoice is posted, the account move is used to show the amounts instead of computing it from the lines. This improve a little bit the performance especially for invoices with a lot of lines.

Account Statement

  • Now it is possible to directly set an invoice on a statement line. This will fill the party and account automatically.


  • It is now possible to query the stock quantity with any kind of grouping parameters. For example, it can be used to compute the stock quantity of a lot instead of a product.
  • The code of inventory has been reworked to allow easy customization of the move creation and also of the unique constraint on the inventory lines.
  • The period cache can now be adapted to cache different kind of grouped quantities.

Stock Lot

  • It is now possible to create inventories with lot.
  • The period cache store also the quantities per lot.

Stock Supply

  • If there are late supplier moves when creating purchase requests, the wizard shows a warning to allow the user to change the date of those moves into the future if needed otherwise those incoming moves will be ignored.

News from Development

Опубликовано: 2013-02-18 12:00:00+00:00 desarrollo

Here are some changes recently landed in the development branch of Tryton that will be available on the next release.


  • Now the default language stored in database overrule the default language of the configuration file. This allows to have a multi-database server with different default languages.
  • The (Field, Operator, Operand) in record rules has been replaced by a plain standard domain. This change shows a speed-up increase of 30% on running the unit test suite.
  • The API of the ModelStorage.create has been changed to use a list of values. This allows to create many records in one call and takes advantage of validation per bunch.
  • A new kind of field has been added: Dict. This field allows to store a dictionary for which the definitions of the keys are stored in the database.
  • The selection_change_with attribute is added to the Selection and Reference fields. It behaves like the on_change_with but it modifies the list of selection values. The validation process takes care also of this new attribute.


  • The filter box has been improved to allow:

    • multi-selection of values for Selection fields

      multi-selection filter
    • range for Date and DateTime fields

      range date filter
  • In order to reduce the number of menu entries, a new concept is introduced: the Tab Domain. This allows to define a set of tabs linked to a domain. Switching from one tab to another, update the list of records according to the domain. All the modules have been updated to take advantage of this feature and remove the extra menu entries.

    domain tab
  • Users can now bookmark their own search.

    search bookmark
  • The icon for URL widget can be dynamic.

  • The URL widget is available also on list view.

  • The menu favorites replaces the menu shortcut. The new design gives a better user experience.

    menu favorites
  • A global search is now available. It allows to search over all the business records.

    global search


Account Asset

It is a new module to manage depreciation of fixed assets. For now, only “linear“ depreciation method is available but the module is designed to welcome new methods.


  • A kind field has been added to Tax Group and Tax Rule with the possible values: Sale, Purchase or Both. Each chart of account can use them to ease tax selection.

Account Invoice

  • The workflow of the Invoice have been reviewed. Here's the result:
    • In Cancel state the Move on the Invoice is deleted or cancelled.
    • Draft Move for Supplier Invoice is created on validation. This gives more accurate accounting report for those who use draft moves.
    • The Proforma state is renamed into Validated to be more generic.
    • The Opened state is renamed into Posted to be more coherent with the rest of the software.


  • A workflow has been added to Stock Move thanks to the new lightweight workflow introduced in 2.4 series which no longer causes performance issues.

Product Attribute

It is a new module to manage any set of attributes on Product by using the new Dict field.

product attribute