Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
4ec2377b by Cédric Krier at 2022-12-26T22:28:04+01:00
Do not try to fuzzy update empty source of translation
Closes #11881
- - - - -
1 changed file:
- trytond/trytond/ir/translation.py
Changes:
=====================================
trytond/trytond/ir/translation.py
=====================================
@@ -1584,7 +1584,9 @@
translation.select(translation.src,
where=((translation.value == '')
| (translation.value == Null))
- & (translation.lang == lang)))
+ & (translation.lang == lang)
+ & translation.src != ''
+ & translation.src != Null))
& (translation.value != '')
& (translation.value != Null),
group_by=translation.src))
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/4ec2377b84e5ad46b52decf1066fb0e59e4c33fa
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/4ec2377b84e5ad46b52decf1066fb0e59e4c33fa
You're receiving this email because of your account on foss.heptapod.net.