details:   https://code.tryton.org/tryton/commit/1265a2d90423
branch:    7.8
user:      Cédric Krier <[email protected]>
date:      Tue Mar 17 15:18:34 2026 +0100
description:
        Add missing classmethod decorator to get_translatable_languages of 
language

        Closes #14685
        (grafted from ae5a633152d6c482501395111ca785d86327ad74)
diffstat:

 trytond/trytond/ir/lang.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 3d8f3c961fab -r 1265a2d90423 trytond/trytond/ir/lang.py
--- a/trytond/trytond/ir/lang.py        Thu Feb 26 17:52:01 2026 +0100
+++ b/trytond/trytond/ir/lang.py        Tue Mar 17 15:18:34 2026 +0100
@@ -386,6 +386,7 @@
                     n=n,
                     exception=exception)) from exception
 
+    @classmethod
     def get_translatable_languages(cls):
         res = cls._lang_cache.get('translatable_languages')
         if res is None:

Reply via email to