Issue 8937

Title
Disable translation when not translatable
Priority
bug
Status
resolved
Nosy list
ced, pokoli, reviewbot, roundup-bot
Assigned to
ced
Keywords
easy, review

Created on 2019-12-17.16:49:57 by ced, last changed 7 months ago by roundup-bot.

Messages

New changeset 214314b6f860 by Cédric Krier in branch 'default':
Skip translation hook for non translatable report
https://hg.tryton.org/tryton-env/rev/214314b6f860
New changeset a13c46b2fe81 by Cédric Krier in branch 'default':
Skip translation hook for non translatable report
https://hg.tryton.org/trytond/rev/a13c46b2fe81
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2019-12-17.16:49:56
In issue4033, we added an option on report to make it translatable or not.
But the Report engine should disable translation if the report is not translatable (even if there are translations stored).
I think only the _add_translation_hook should be skipped (but with fake method), the TranslateModel should still be used as it is not part of the template.
History
Date User Action Args
2020-04-19 16:33:09roundup-botsetmessages: + msg57302
2020-04-19 16:32:32roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg57301
2020-04-17 19:05:57reviewbotsetnosy: + reviewbot
messages: + msg57242
2020-04-17 18:49:19cedsetstatus: unread -> testing
reviews: 299481002
keyword: + review
assignedto: ced
2019-12-18 09:20:39pokolisetnosy: + pokoli
2019-12-17 17:56:36cedsetkeyword: + easy
2019-12-17 16:49:57cedcreate

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