Tryton - Issues

 

Issue8011

Title Tryton URL feature opens window always in english language
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot, udono
Type behavior Components tryton
Assigned To ced Keywords review
Reviews 281141002
View: 281141002

Created on 2019-01-18.15:54:54 by udono, last changed by roundup-bot.

Messages
New changeset 670eb304a155 by Cédric Krier in branch 'default':
Make get_preferences synchronous
https://hg.tryton.org/tryton-env/rev/670eb304a155
New changeset 16db4360489e by Cédric Krier in branch 'default':
Make get_preferences synchronous
https://hg.tryton.org/tryton/rev/16db4360489e
msg48330 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-04-02.17:50:24
Tryton does not open twice the same view.
msg48014 (view) Author: [hidden] (udono) Date: 2019-03-25.18:03:55
I tested the patch on Version 5.0. and I think I was able to open a URL[1]
once in the correct language. But I was having trouble to
re-open the URL again: the client doesn't open the view again.
But it could be another issue and I will investigate further.

[1] bin/tryton tryton -u demo_de tryton://demo5.0.tryton.org/demo5.0/model/party.party/17;name=%22Parteien%22&views=%5B115%2C114%5D
review281141002 updated at https://codereview.tryton.org/281141002/#ps263111002
msg47671 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-03-16.16:15:46
Here is review281141002 which make loading preferences synchronous to be sure that language is set.
msg46074 (view) Author: [hidden] (udono) Date: 2019-01-18.15:54:54
The Tryton URL feature opens a window always in english language instead of the user preference or the client.lang from config.

Scenario
--------
Open tryton 5.0 client with URL like this::
    tryton -u demo_de tryton://demo5.0.tryton.org/demo5.0/model/party.party/1;name=%22Parteien%22&views=%5B115%2C114%5D

Expected behavior: party form view labels in german language.
Issue: party form view labels are in english language.
History
Date User Action Args
2019-04-02 17:53:51roundup-botsetmessages: + msg48332
2019-04-02 17:53:49roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg48331
2019-04-02 17:50:24cedsetmessages: + msg48330
2019-03-25 18:03:55udonosetmessages: + msg48014
2019-03-16 16:48:43reviewbotsetnosy: + reviewbot
messages: + msg47673
2019-03-16 16:15:46cedsetstatus: unread -> testing
messages: + msg47671
keyword: + review
nosy: + ced
component: + tryton
reviews: 281141002
assignedto: ced
2019-01-18 15:54:54udonocreate