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