summaryrefslogtreecommitdiff
path: root/odoo/tools/translate.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/tools/translate.py')
-rw-r--r--odoo/tools/translate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tools/translate.py b/odoo/tools/translate.py
index e98ad4e9b7a..b2bf929ec18 100644
--- a/odoo/tools/translate.py
+++ b/odoo/tools/translate.py
@@ -487,7 +487,7 @@ class GettextAlias(object):
finally:
if cr and is_new_cr:
cr.close()
- return res
+ return res or ''
@functools.total_ordering