Issue 10120

Title
Fallback to raw value for missing selection translated
Priority
bug
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
backport, review

Created on 2021-02-20.12:46:01 by ced, last changed 2 days ago by roundup-bot.

Messages

New changeset 33c63fb375bc by Cédric Krier in branch 'default':
Do not switch selection value if the result is neither in the selection
https://hg.tryton.org/tryton-env/rev/33c63fb375bc
New changeset 318efe295241 by Cédric Krier in branch 'default':
Do not switch selection value if the result is neither in the selection
https://hg.tryton.org/trytond/rev/318efe295241
New changeset 6e6956c9bcb9 by Cédric Krier in branch 'default':
Add fallback to the value for missing translated selection
https://hg.tryton.org/tryton-env/rev/6e6956c9bcb9
New changeset b070f97bbec4 by Cédric Krier in branch 'default':
Add fallback to the value for missing translated selection
https://hg.tryton.org/trytond/rev/b070f97bbec4
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-02-20.12:45:59

If for some reason the selection value is no more in the selection list, the translated value is None. For me it is wrong behavior because it looks like if it is empty and not that something is wrong. I think it should fallback to the internal value.

History
Date User Action Args
2021-03-02 08:38:20roundup-botsetmessages: + msg65052
2021-03-02 08:38:18roundup-botsetmessages: + msg65051
2021-03-01 23:29:16roundup-botsetmessages: + msg65047
2021-03-01 23:29:11roundup-botsetmessages: + msg65046
nosy: + roundup-bot
status: testing -> resolved
2021-02-20 13:02:24reviewbotsetmessages: + msg64730
nosy: + reviewbot
2021-02-20 12:46:36cedsetkeyword: + backport, review
reviews: 341441002
status: in-progress -> testing
2021-02-20 12:46:01cedcreate

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