From 5206e210fbc57c8adeaddf3f24672fdf37ff59be Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Thu, 20 Jan 2011 13:50:32 +0100 Subject: [PATCH] [FIX] translate: overly restrictive search for terms creates duplicated records. lp bug: https://launchpad.net/bugs/704894 fixed bzr revid: vmt@openerp.com-20110120125032-rfvwih8wqa1boipl --- bin/tools/translate.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/tools/translate.py b/bin/tools/translate.py index cfc747bafe0..510ae71ab1f 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -920,7 +920,6 @@ def trans_load_data(cr, fileobj, fileformat, lang, lang_name=None, verbose=True, ] if dic['type'] == 'model': if dic['res_id'] is False: - args.append(('res_id', '=', 0)) args.append(('module', '=', dic['module'])) args.append(('xml_id', '=', dic['xml_id'])) else: