From e072f4bc9e98b993fa77ca7ca0c19c51f926fcb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 25 Jan 2023 09:41:24 +0100 Subject: [PATCH] Fix source clause of empty translation source introduced by 4ec2377b84e5 --- trytond/trytond/ir/translation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trytond/trytond/ir/translation.py b/trytond/trytond/ir/translation.py index 7eb9e9cd77..53150752cb 100644 --- a/trytond/trytond/ir/translation.py +++ b/trytond/trytond/ir/translation.py @@ -1585,8 +1585,8 @@ class TranslationUpdate(Wizard): where=((translation.value == '') | (translation.value == Null)) & (translation.lang == lang) - & translation.src != '' - & translation.src != Null)) + & (translation.src != '') + & (translation.src != Null))) & (translation.value != '') & (translation.value != Null), group_by=translation.src))