Tryton - Issues



Title Issue on filtering search on es_xx
Priority bug Status testing
Superseder Nosy List ced, csotelo, pokoli, reviewbot
Type behavior Components trytond
Assigned To ced Keywords review
Reviews 39971002
View: 39971002

Created on 2017-11-13.14:53:27 by csotelo, last changed by reviewbot.

review39971002 updated at
msg37220 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-12-10.16:06:18
I think the patch should be back-ported even if it changes the API of the method _get_translation_join. It is a private method and without this change it is not possible to really use the derivative feature of languages.
msg37219 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-12-10.16:04:57
Here is review39971002
msg36863 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-11-13.15:20:53
The issue is that rev 049635454a98 did not update the _get_translation_join [1]. It should create a join for all parent languages and take the one with value and having the longer language code.

msg36862 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2017-11-13.15:17:59
Since changeset 049635454a98 because the translatable fields query [1] does not take in account the parent languages. 

msg36861 (view) Author: [hidden] (csotelo) Date: 2017-11-13.14:53:26
After updating from 3.8 to 4.2, and installing es_PE as language, filters stop working on values set from xml install like Currencies.


Searching for USD on

- es => 'Dólar' => works
- es_PE => 'Dólar' => no results

Looks like an issue on parent translations
Date User Action Args
2017-12-10 16:13:25reviewbotsetnosy: + reviewbot
messages: + msg37221
2017-12-10 16:06:18cedsetmessages: + msg37220
2017-12-10 16:04:57cedsetstatus: in-progress -> testing
reviews: 39971002
messages: + msg37219
keyword: + review
2017-12-10 14:39:08cedsetstatus: chatting -> in-progress
assignedto: csotelo -> ced
2017-11-27 17:54:43csotelosetassignedto: csotelo
2017-11-13 15:20:58cedsetkeyword: - es
2017-11-13 15:20:53cedsetnosy: + ced
messages: + msg36863
2017-11-13 15:17:59pokolisetstatus: unread -> chatting
nosy: + pokoli
messages: + msg36862
2017-11-13 14:53:27csotelocreate

Showing 10 items. Show all history (warning: this could be VERY long)