Subject: changeset in trytond:4.4 Use unique name for _get_language Cache From: Cédric Krier <[email protected]>
changeset 61e192d4fc0c in trytond:4.4 details: https://hg.tryton.org/trytond?cmd=changeset;node=61e192d4fc0c description: Use unique name for _get_language Cache issue7974 review60481002 (grafted from 0ec012410a55051643fe30e934ca7c978c9dceb9) diffstat: trytond/ir/translation.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r c640948093b6 -r 61e192d4fc0c trytond/ir/translation.py --- a/trytond/ir/translation.py Tue Jan 22 22:16:38 2019 +0100 +++ b/trytond/ir/translation.py Tue Jan 15 00:02:19 2019 +0100 @@ -77,7 +77,7 @@ overriding_module = fields.Char('Overriding Module', readonly=True) _translation_cache = Cache('ir.translation', size_limit=10240, context=False) - _get_language_cache = Cache('ir.translation') + _get_language_cache = Cache('ir.translation.get_language') @classmethod def __setup__(cls):
