From 0c6b0399a94d0eb20c82b88fdcf7fc061aa3daad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 17 Oct 2025 10:33:06 +0000 Subject: [PATCH] Set default value of src_plural to NULL when setting translations Adding the new translations to the internal language should set the value of src_plural to NULL as this is the default value we use when importing from the PO files. Moreover it might happen that an empty string could be a valid value for src_plural. Closes #14289 --- trytond/trytond/ir/translation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/trytond/ir/translation.py b/trytond/trytond/ir/translation.py index 77b564cfba..a7793010dc 100644 --- a/trytond/trytond/ir/translation.py +++ b/trytond/trytond/ir/translation.py @@ -1255,7 +1255,7 @@ class TranslationSet(Wizard): [ [view.model, INTERNAL_LANG, 'view', string, - '', '', + None, '', '', '', '', view.module, False, -1]]))