[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
This commit is contained in:
Vo Minh Thu 2011-01-20 13:50:32 +01:00
parent fe9ea87e2e
commit 5206e210fb
1 changed files with 0 additions and 1 deletions

View File

@ -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: