summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 120ba52fdb9..1a96b8f192e 100644
--- a/odoo/tools/translate.py
+++ b/odoo/tools/translate.py
@@ -631,7 +631,7 @@ class PoFileReader:
'src': source,
'value': translation,
'comments': comments,
- 'res_id': int(line_number or 0),
+ 'res_id': int(line_number),
'module': module,
}
continue