# Newsletter August 2019

**URL:** https://discuss.tryton.org/t/newsletter-august-2019/1539
**Category:** News
**Created:** [August 1, 2019, 6:00am UTC](https://discuss.tryton.org/t/newsletter-august-2019/1539 "2019-08-01T06:00:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [August 1, 2019, 6:00am UTC](https://discuss.tryton.org/t/newsletter-august-2019/1539/1 "2019-08-01T06:00:06Z")

</div>

![View of moon limb,with Earth on the horizon](https://discuss-cdn.tryton.org/uploads/default/original/1X/c1b60752724532b86b2b94a5ff81ddd4c8b3d139.jpeg)

The [Tryton](http://www.tryton.org/) development has resumed now its cruising pace. There are a lot of changes to improve the user experiences. A new major feature, the secondary unit, has landed in the form of four new modules.

Thanks to the [Open Source program of KeyCDN](https://www.keycdn.com/open-source-cdn), our website and forum are now speeded up by delivering static content at global scale. We have also pushed our downloads on the KeyCDN, so we encourage you to use [downloads-cdn.tryton.org](http://downloads-cdn.tryton.org) instead of [downloads.tryton.org](http://downloads.tryton.org) (Thank you for checking your automated scripts which are looking up for new releases).

Please help translating Tryton in to your language. The development sources from the repositories are updated every month. So please don’t forget to check them regularly every month on [https://translate.tryton.org/](https://translate.tryton.org/).

Contents:

- [Changes for users](#heading--users)
- [New modules](#heading--new-modules)
- [Changes for developers](#heading--developers)

## Changes For The User

We changed all main [editable lists to add new records on top](https://bugs.tryton.org/issue8430). This is more efficient for the web client on large lists. But inside One2Many lists we keep adding new records at the bottom.

You can now define which [unit of measure is the basis for quantities used in a price list.](https://bugs.tryton.org/issue8442) In standard modules we support the default unit (the original one) and the sale unit.

The [column size of the web client](https://bugs.tryton.org/issue8308) has been improved. Now columns have a minimal width (depending of the type) and a double scrollbar (top and bottom) is displayed if there is not enough space to show all the columns on the view-port.

Until now, it was possible to cancel a posted supplier invoice but not one from a customer. This was because in many countries it is not allowed. But in order to be more flexible, we [added an option on the company to allow cancel of customer invoice](https://bugs.tryton.org/issue8445).

When renewing a fiscal year, the [new sequences will have their name also updated](https://bugs.tryton.org/issue7967). If the name of the previous fiscal year appears in the sequence name then it will be replaced by the new fiscal year name. This reduces confusion when listing all the sequences.

The [income statement is included in the balance sheet](https://bugs.tryton.org/issue8516) for the Spanish accounting (as it is done for other countries). So the running income of the current year is already included before the year closing.

When using the “Enter Timesheet” wizard, now we [display the date](https://bugs.tryton.org/issue8541) in the window name (next to the employee name) . The shown date is the one selected in the first step of the wizard.

## New Modules

### Modules to manage secondary unit

They follow the blueprint of [Uom Conversion Inter category on product](https://discuss.tryton.org/t/uom-conversion-inter-category-on-product/1219)  
and allow to define a different secondary unit and factor on the product for sale and for purchase.  
The quantity of sale and purchase lines can be defined using the secondary unit fields (quantity and unit price), the main unit fields are automatically updated using the product factor.  
On related documents like the invoice or shipment, the secondary fields are displayed using the factor stored on the sale or purchase.

- [Account Invoice Secondary Unit](http://docs.tryton.org/projects/modules-account-invoice-secondary-unit/en/latest/)
- [Purchase Secondary Unit](http://docs.tryton.org/projects/modules-purchase-secondary-unit/en/latest/)
- [Sale Secondary Unit](http://docs.tryton.org/projects/modules-sale-secondary-unit/en/latest/)
- [Stock Secondary Unit](http://docs.tryton.org/projects/modules-stock-secondary-unit/en/latest/)

## Changes For The Developer

Since release 5.2 we have made the view parser reusable for different view types (e.g. form and list-form). Now we [reuse also the form parser for the board views](https://bugs.tryton.org/issue8313). This reduces the code to maintain and ensure the same behavior for the same tags.

[A stock move can be the origin of another stock move](https://bugs.tryton.org/issue8253). This allows us to keep a link between inventory, incoming and outgoing moves.

We support the [conversion between different categories of unit of measures](https://bugs.tryton.org/issue8238) as long as the user provides a factor/rate for the two base units of both categories.

The [docker images of Tryton](https://hub.docker.com/r/tryton/tryton/) have [proteus installed](https://bugs.tryton.org/issue8480) now. This is useful if you want to run `trytond_import_zip` on it or launch the tests.

The [`expand` attribute](https://bugs.tryton.org/issue8308) has been changed from a boolean (1 or 0) into an integer. The integer represents the proportion of available space which is taken among all expanded columns.

The `format_date` method on `Report` can now take an [optional `format` parameter](https://bugs.tryton.org/issue8444) if you don’t want to use the default format of the language.

The [web client updates the states of the wizard buttons and title](https://bugs.tryton.org/issue8498) like the desktop client does. This closes a little more the behavior gap between both clients.

The [Stripe](https://stripe.com/) module for payment didn’t support the [webhook when charge expired](https://bugs.tryton.org/issue8455). Now it is supported and behaves the same way as for charge failed.

There is now an [environment variable to set the default logging level](https://bugs.tryton.org/issue8510) when running trytond as a [WSGI application](https://en.wikipedia.org/wiki/Web_Server_Gateway_Interface).

The [countries, subdivisions and currencies are no more loaded from XML](https://bugs.tryton.org/issue8346) at the module installation but using proteus scripts which use [pycountry](https://pypi.org/project/pycountry/) data: `trytond_import_countries` and `trytond_import_currencies`. The translations are also loaded by those scripts.  
This reduces the maintenance load of each release and allows users to keep their database up to date without relying on Tryton releases.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [August 1, 2019, 10:41am UTC](https://discuss.tryton.org/t/newsletter-august-2019/1539/2 "2019-08-01T10:41:14Z")

</div>



---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [August 2, 2019, 7:05am UTC](https://discuss.tryton.org/t/newsletter-august-2019/1539/3 "2019-08-02T07:05:46Z")

</div>

2 posts were split to a new topic: [How to simulate "a stock move can be the origin of another stock move on 5.2](https://discuss.tryton.org/t/how-to-simulate-a-stock-move-can-be-the-origin-of-another-stock-move-on-5-2/1632)
