diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2011-01-20 13:50:32 +0100 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2011-01-20 13:50:32 +0100 |
| commit | 5206e210fbc57c8adeaddf3f24672fdf37ff59be (patch) | |
| tree | 47ddf1c664dcf0673219708e7485f515d99b8c6b /bin/tools | |
| parent | fe9ea87e2e6cc55382d86af38b6052ecc57767ad (diff) | |
[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
Diffstat (limited to 'bin/tools')
| -rw-r--r-- | bin/tools/translate.py | 1 |
1 files changed, 0 insertions, 1 deletions
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: |
